2022 AMC 12B Problems/Problem 17
Problem
A bug starts at a vertex of a grid made of equilateral triangles of side length . At each step the bug moves in one of the possible directions along the grid lines randomly and independently with equal probability. What is the probability that after moves the bug never will have been more than unit away from the starting position?
Solution
Let be the number of paths of moves such that the bug never will have been more than unit away from the starting position. Clearly, by symmetry, there are two possible states here, the bug being on the center and the bug being on one of the vertices of the unit hexagon around the center. Let be the number of paths with the aforementioned restriction that end on the center. Let be the number of paths with the aforementioned restriction that end on a vertex of the surrounding unit hexagon. We have since from the center, there are possible points to land to and from a vertex there are possible points to land to (the two adjacent vertices and the center). We also have , since to get to the center the bug must have come from a vertex, and since from a vertex there are two vertices to move to, and from the center there are vertices to move to. We can construct a recursion table using the base cases and and our recursive rules for and as follows: Then, and the desired probability is thus
-fidgetboss_4000