Skip to content

Problem 6

Bob is walking in the cells of a 10×1010\times10 grid. Meanwhile, Alice is also walking in the cells of the same 10×1010\times10 grid. Alice starts from the bottom-left corner and Bob starts from the top-right corner. Alice walks up or right every minute randomly and Bob also randomly walks down or left every minute. Let the probability that they will collide be p2q\frac{p}{2^q} in simplest form and find qq.

Solution

Answer: 1616

They can collide only after both have taken 99 steps. Matching Alice’s first half with Bob’s reversed second half gives a complete path across the grid, so there are (189)\binom{18}{9} ways for a collision.

Each person has 292^9 equally likely sequences of direction choices. Therefore

Pr⁡(collision)=(189)(29)2=12155216,\Pr(\text{collision})=\frac{\binom{18}{9}}{(2^9)^2}=\frac{12155}{2^{16}},

so q=16q=16. Alternatively, Kummer’s theorem counts two carries in the binary addition 9+99+9, giving v2 ⁣((189))=2v_2\!\left(\binom{18}{9}\right)=2 and q=18−2=16q=18-2=16.