MathDB
MBMT Team -- Euler #13

Source:

March 29, 2015

Problem Statement

A blind ant is walking on the coordinate plane. It is trying to reach an anthill, placed at all points where both the xx-coordinate and yy-coordinate are odd. The ant starts at the origin, and each minute it moves one unit either up, down, to the right, or to the left, each with probability 14\frac{1}{4}. The ant moves 33 times and doesn't reach an anthill during this time. On average, how many additional moves will the ant need to reach an anthill? (Compute the expected number of additional moves needed.)