Problem:
An ant makes a sequence of moves on a cube where a move consists of walking from one vertex to an adjacent vertex along an edge of the cube. Initially the ant is at a vertex of the bottom face of the cube and chooses one of the three adjacent vertices to move to as its first move. For all moves after the first move, the ant does not return to its previous vertex, but chooses to move to one of the other two adjacent vertices. All choices are selected at random so that each of the possible moves is equally likely. The probability that after exactly 8 moves that ant is at a vertex of the top face on the cube is nmβ, where m and n are relatively prime positive integers.
Find m+n.
Solution:
We define piβ to represent the probability that, after i total moves, the ant ends up on the same level (top or bottom) it started on β namely, the bottom face.
The ant begins at a vertex on the bottom face of a cube. On the first move, it can move to 3 adjacent vertices: 2 of those are on the bottom face, and 1 is on the top face. Since it chooses uniformly at random, the chance it remains on the bottom face after 1 move is 32β. For the sake of the recurrence, we use a different perspective and define p1β=21β, analyzing transitions from future states instead.
Now observe the ant's behavior for iβ₯2. At move i, the ant either:
(1) stays on the same level, with probability 21β, coming from the same level at move iβ1; or
(2) it switches from the opposite level, with probability 21β, having come from move iβ2.
This leads to the recurrence: piβ=21βpiβ1β+21β(1βpiβ2β) with base cases p0β=1, p1β=21β.
Now compute:
p2βp3βp4βp5βp6βp7ββ=21ββ
21β+21ββ
(1β1)=41β=21ββ
41β+21ββ
(1β21β)=85β=21ββ
85β+21ββ
(1β41β)=1611β=21ββ
1611β+21ββ
(1β85β)=3215β=21ββ
3215β+21ββ
(1β1611β)=6433β=21ββ
6433β+21ββ
(1β3215β)=12859ββ
To return to the original setup, where the ant starts on the bottom face and makes 8 moves, we compute:
Pβ=32ββ
p7β+31ββ
(1βp6β)=32ββ
12859β+31ββ
(1β6433β)=3217β.β
Thus, the final answer is 49β.
The problems on this page are the property of the MAA's American Mathematics Competitions