The Busy Busy Robot

It's the year 2050, and Apple just released their iPhone 29. Trying to ship their "new" product to as many cities as possible, a robot is designed to organize the phones into boxes, each box being capable of holding up to 100 phones. Every night the robot is tasked with filling up 35 boxes labeled 1 to 35. To fill the boxes, the robot chooses a random box, places a phone in it, and repeats these two steps until each box is full. Also, each box is equally likely to be chosen.

After randomly placing 25 phones, the probability that the 26 th ^\text{th} phone is placed in a box with no other phones in it is X X .

Find 10000 X \displaystyle \lceil 10000X \rceil .

You may use computer assistance for the final step of your calculation.


The answer is 4845.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Ivan Koswara
Aug 3, 2017

Since a box can hold up to 100 phones, which is larger than 26, we may assume each box has infinite capacity, so each phone can be placed in any of the boxes with equal probability, and the phones are mutually independent (where a phone is placed doesn't affect other phones).

Fix the box where the 26th phone is placed. The probability that any one phone is not placed in this box is 34 / 35 34/35 , so the probability that the previous 25 phones are not placed in this box is simply ( 34 / 35 ) 25 0.48447549 (34/35)^{25} \approx 0.48447549 \ldots , so the answer is 4845 \boxed{4845} .

Mark Hennings
Jul 25, 2017

Let there be N N boxes, and let p n , j p_{n,j} , for 1 j n 1 \le j \le n be the probability that, after n n phones have been placed, that there are j j boxes containing at least one phone. We shall restrict attention to the case n < N 100 n < N \le 100 , to avoid complications of running out of empty boxes, or filling any of the boxes.

It is clear that p 1 , 1 = 1 p_{1,1} = 1 , and that p 2 , 1 = 1 N p_{2,1} = \tfrac{1}{N} and p 2 , 2 = N 1 N p_{2,2} = \tfrac{N-1}{N} . Also note that p n , 1 = p n 1 , 1 × 1 N p n , n = p n 1 , n 1 × N + 1 n N n 2 p_{n,1} \; = \; p_{n-1,1} \times \tfrac{1}{N} \hspace{2cm} p_{n,n} \; = \; p_{n-1,n-1} \times \tfrac{N+1-n}{N} \hspace{2cm} n \ge 2 so that p n , 1 = 1 N n 1 = N N n , p n , n = ( N 1 ) ( N 2 ) ( N + 1 n ) N n 1 = N ! ( N n ) ! N n n 1 p_{n,1} \; = \; \frac{1}{N^{n-1}} \; = \; \frac{N}{N^n} \;,\; p_{n,n} \; = \; \frac{(N-1)(N-2)\cdots(N+1-n)}{N^{n-1}} \; = \; \frac{N!}{(N-n)! N^n} \hspace{2cm} n \ge 1 More generally, if 2 j n 1 2 \le j \le n-1 , then p n , j = p n 1 , j × j N + p n 1 , j 1 × N + 1 j N p_{n,j} \; = \; p_{n-1,j} \times \frac{j}{N} + p_{n-1,j-1} \times \frac{N+1-j}{N} By induction on n n , we can show that p n , j = j ! N n { n j } ( N j ) 1 j n < N 100 p_{n,j} \; = \; \frac{j!}{N^n} \left\{\begin{array}{c} n \\ j \end{array} \right\} \left(\begin{array}{c}N\\j\end{array}\right) \hspace{2cm} 1 \le j \le n < N \le 100 where { n j } \left\{\begin{array}{c}n \\ j \end{array}\right\} is the Stirling number of the second kind.

Thus the probability that the ( n + 1 ) (n+1) st phone is placed into an empty box is P ( n ) = j = 1 n p n , j × N j N = 1 N n + 1 j = 1 n ( N j ) j ! { n j } ( N j ) n < N 100 P(n) \; =\; \sum_{j=1}^n p_{n,j} \times \frac{N-j}{N} \; = \; \frac{1}{N^{n+1}}\sum_{j=1}^n (N-j) j! \left\{ \begin{array}{c} n \\ j \end{array} \right\} \left(\begin{array}{c}N \\j \end{array} \right) \hspace{2cm} n < N \le 100 With N = 35 N=35 , we compute X = P ( 25 ) = 193630125104980427932766033374162714624 399669593472470313551127910614013671875 X \; = \; P(25) \; = \; \frac{193630125104980427932766033374162714624}{ 399669593472470313551127910614013671875} and since 10000 X = 4844.75... 10000X = 4844.75... , the answer is 4845 \boxed{4845} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...