Introduction to Probability · Problem 34

Combinatorics — Grinstead & Snell

Mathematics — Probability · inclusion-exclusion

Problem

Assume that every time you buy a box of Wheaties, you receive one of the pictures of the nn players on the New York Yankees. Over a period of time, you buy m≥nm \geq n boxes of Wheaties. ((a)) Use Theorem 3.8 to show that the probability that you get all nn pictures is 1−(n1)(n−1n)m+(n2)(n−2n)m−⋯+(−1)n−1(nn−1)(1n)m.1 - \binom{n}{1}\left(\frac{n-1}{n}\right)^m + \binom{n}{2}\left(\frac{n-2}{n}\right)^m - \cdots + (-1)^{n-1}\binom{n}{n-1}\left(\frac{1}{n}\right)^m. Hint: Let EkE_k be the event that you do not get the kkth player's picture. ((b)) Write a computer program to compute this probability. Use this program to find, for given nn, the smallest value of mm which will give probability ≥.5\geq .5 of getting all nn pictures. Consider n=50,100,n = 50, 100, and 150150 and show that m=nlog⁡n+nlog⁡2m = n \log n + n \log 2 is a good estimate for the number of boxes needed.

Related theory

Browse the problem library