2009-10-25, 04:01 PM
In Mabi, there's this "Wish Upon a star" or something event.
Simplifying it a little, you get a box, open it, and get a candy. To get the prize, you need all 12 types of candy.
Assuming each candy is equally likely to be in a box, what is the expected number of boxes which need to be opened before all 12 candies are obtained?
If that doesn't work for one reason or another, how would you graph the probability distribution of how likely you are to have all 12 after n boxes?
Simplifying it a little, you get a box, open it, and get a candy. To get the prize, you need all 12 types of candy.
Assuming each candy is equally likely to be in a box, what is the expected number of boxes which need to be opened before all 12 candies are obtained?
If that doesn't work for one reason or another, how would you graph the probability distribution of how likely you are to have all 12 after n boxes?


![[Image: yktu5ql.png]](http://mathurl.com/yktu5ql.png)
chance of getting a new candy on next attempt. That also means that there's
chance of ![[Image: yfkr8r2.png]](http://mathurl.com/yfkr8r2.png)
![[Image: ykqmhmo.png]](http://mathurl.com/ykqmhmo.png)
![[Image: watj.png]](http://img101.imageshack.us/img101/9272/watj.png)