2025 SSMO Accuracy Round Problems/Problem 6
Problem
Andy the ant starts at the square labeled . On each move Andy moves to any orthogonal square (a square with which his current square shares a side). What is the expected number of moves before Andy is in the square labeled
?
Solution
Label each cell of the grid as shown. We proceed via states; for each integer , let
denote the expected number of moves Andy makes starting from cell
before reaching cell
. The value we seek is
.
Trivially, . By symmetry, note that
,
, and
. To set up our states equations, we consider all the possible ways Andy can move up to symmetry:
- If Andy is currently in cell
, he moves with probability
to each one of cells
and
;
- If Andy is currently in cell
, he moves with probability
to each one of cells
,
, and
;
- If Andy is currently in cell
, he moves with probability
to each one of cells
and
;
- If Andy is currently in cell
, he moves with probability
to each one of cells
,
,
, and
;
- If Andy is currently in cell
, he moves with probability
to each one of cells
,
, and
.
Therefore, we have the following five equations:
\begin{align*}
e_1 &= e_3 + 1 \\
e_3 &= \tfrac{1}{3}e_1 + \tfrac{1}{3}e_4 + \tfrac{1}{3}e_6 + 1 \\
e_4 &= \tfrac{1}{2}e_3 + \tfrac{1}{2}e_7 + 1 \\
e_6 &= \tfrac{1}{2}e_3 + \tfrac{1}{2}e_7 + 1 \\
e_7 &= \tfrac{1}{3}e_4 + \tfrac{1}{3}e_6 + 1.
\end{align*}
Note that . Substituting this as well as
into the second and fifth equations lets us solve for both
and
in terms of
. After simplification, we obtain
\begin{align*}
e_3 &= e_4+2\\
e_7 &= \tfrac{2}{3}e_4 + 1.
\end{align*}
Plugging in these expressions for
and
into the third equation of our system, we obtain a linear equation in
, which we can solve to find that
. Thus,
.
~Sedro