Skip to main content

2014 AIME I Problem 11

Problem 11 of 15HarderCombinatoricsProbability & Statistics

A token starts at the point (0,0)(0, 0) of an xyxy-coordinate grid and then makes a sequence of six moves. Each move is 11 unit in a direction parallel to one of the coordinate axes. Each move is selected randomly from the four possible directions and independently of the other moves. The probability that the token ends at a point on the graph of ∣y∣=∣x∣|y| = |x| is mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Your answer

Integer from 0 to 999
Show solution

Solution

Work in the diagonal coordinates u=x+yu = x + y and v=x−y.v = x - y. Each of the four moves changes uu by ±1\pm 1 and vv by ±1,\pm 1, and the four moves realize all four sign combinations equally often — so uu and vv perform independent six-step ±1\pm 1 walks. The token ends on ∣y∣=∣x∣|y| = |x| exactly when y=±x,y = \pm x, that is, when u=0u = 0 or v=0.v = 0. Each of u=0u = 0 and v=0v = 0 requires three +1+1s and three −1-1s, with probability (63)26=2064=516.\frac{\binom{6}{3}}{2^6} = \frac{20}{64} = \frac{5}{16}. By independence and inclusion-exclusion, the probability is 516+516−(516)2=160−25256=135256. \begin{aligned} &\frac{5}{16} + \frac{5}{16} - \left(\frac{5}{16}\right)^2 \\ &= \frac{160 - 25}{256} = \frac{135}{256}. \end{aligned} Thus m+n=135+256=391.m + n = 135 + 256 = 391.
AoPS wiki

Tagged: random walk · independent events · inclusion-exclusion

More practice