Remember, we used to collect all the toy species from our chips' packets. We were all confused about how many more chips to buy? Here is how, probability guides us through in this ISI MStat 2013 Problem 9.
Chips are on sale for Rs. 30 each. Each chip contains exactly one toy, which can be one of four types with equal probability. Suppose you keep on buying chips and stop when you collect all the four types of toys. What will be your expected expenditure?
I am really excited to find the solution. Remember, in your childhood, you were excited to buy packets of chips to collect all the toys and show them to your friends. There was a problem, that you don't have enough money to buy the chips. A natural question was how much money you have to spend?
See, the problem is right here! Let's dive into the solution. Remember we have to be a little bit mathematical here.
Let's see how we get the four new toys.
1st new toy \( \rightarrow \) 2nd new toy \( \rightarrow \) 3rd new toy \( \rightarrow \) 4th new toy.
\( N_1\) = The number of chips to be bought to get the first new toy.
\( N_2\) = The number of chips to be bought to get the second new toy after you got the first new toy.
\( N_3\) = The number of chips to be bought to get the third new toy after you got the second new toy.
\( N_4\) = The number of chips to be bought to get the fourth new toy after you got the third new toy.
Observe that the expected number of chips to be bought = \( E ( N_1 + N_2 + N_3 + N_4 \) = \(E (N_1) + E(N_2) + E(N_3) + E(N_4) \).
Now, can you guess what are the random variables \( N_1, N_2, N_3, N_4 \)?
There are all geometric random variables. ( Why? )
[ Hint : Success is when you don't get the already observed toys ]
Observe that \( N_i\) ~ Geom(\(\frac{4-i}{4}\)) ( Why? )
If \(N\) ~ Geom(\(p\)), then \(E(N) = \frac{1}{p}\).
Therefore, the required number of chips to be brought is \( 4 \times \sum_{i=1}{4} \frac{1}{4} = 8 + \frac{1}{3}\).
Therefore, you can guess, what will be the answer if there are \(n\) toys? ( \(n H_n\) ) , where \(H_n\) is the nth harmonic number.
v = NULL
N = 0
n = 4 #number of toys
init = rep(0,n)
toy = rep(0,n)
True = rep(TRUE,n)
for (j in 1:10000)
{
for (i in 1:100)
{
s = sample(4,1)
toy[s] = toy[s] + 1
N = N + 1
if (identical (toy > init, True))
{
break
}
}
v = c(v,N)
N = 0
toy = rep(0,n)
}
mean(v) = # 8.3214
Therefore, it is verified by simulation.

Stay Tuned! Stay Shambho!

Publishing original scientific research in a peer-reviewed journal is an achievement many scholars work toward for years. Achieving this feat early in one's academic journey requires exceptional intellectual rigor, creativity, and persistence. Aaditya Punatar and Muskan Sadana have reached this remarkable milestone, successfully publishing their collaborative research paper in the prestigious Journal of Emerging Investigators […]

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]