Imagine a cereal company puts one of n different prizes in every box, chosen uniformly at random. You buy box after box. How many boxes do you need to complete the collection?
This is the Coupon Collector's Problem, a classic from probability theory. It is not a hard problem to state, and the answer is known exactly: the expected number of draws is , where is the harmonic number — which grows like for large .
The formula is beautiful, but the feeling behind it is what stays with you. The first few coupons arrive almost immediately. The last few feel like they take forever — because they do. When you already have distinct coupons, the chance that the next draw gives you the missing one is only . On average you need more draws just for that final piece.
That asymmetry — fast start, agonizing finish — is not just a quirk of collecting. It appears in hashing, networking, testing, and anywhere randomness is used to cover a set of possibilities.
Comments
Loading comments...