2021 AIME II Problem 8
Problem 8 of 15IntermediateCombinatoricsProbability & Statistics
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 moves that ant is at a vertex of the top face on the cube is where and are relatively prime positive integers. Find
Your answer
Integer from 0 to 999
Show solution
Solution
All allowed move sequences are equally likely, so we count those ending on the top face. Classify the ant after each move by its face (bottom or top) and by whether its last move was vertical: after a vertical move the two allowed continuations are the two horizontal edges at the new vertex, while after a horizontal move one continuation is horizontal and one is vertical.
Let count sequences ending on the bottom or top with last move horizontal or vertical. Each sequence splits into two, following After move the counts are and iterating gives and after the eighth move and
So of the sequences end on the top face, giving probability and
Tagged: random walk · recursive counting