Skip to main content

1985 AIME Problem 12

Problem 12 of 15HarderAlgebraProbability & Statistics

Let A,A, B,B, C,C, and DD be the vertices of a regular tetrahedron, each of whose edges measures 11 meter. A bug, starting from vertex A,A, observes the following rule: at each vertex it chooses one of the three edges meeting at that vertex, each edge being equally likely to be chosen, and crawls along that edge to the vertex at its opposite end. Let p=n729p=\frac{n}{729} be the probability that the bug is at vertex AA when it has crawled exactly 77 meters. Find the value of n.n.

Your answer

Integer from 0 to 999
Show solution

Solution

Let pkp_k be the probability that the bug is at AA after kk steps. It cannot stay at A,A, while from any other vertex it moves to AA with probability 13.\frac{1}{3}. Hence pk+1=1−pk3,p0=1. p_{k+1}=\frac{1-p_k}{3},\qquad p_0=1. Solving this recurrence gives pk=14+34(−13)k. p_k=\frac14+\frac34\left(-\frac13\right)^k. Thus p7=14−34⋅37=182729,p_7=\frac14-\frac{3}{4\cdot3^7}=\frac{182}{729}, so n=182.n=182.
AoPS wiki

Tagged: random walk · recursion · basic probability

More practice