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 the ant is at a vertex of the top face of the cube is x/y where x and y are relatively prime positive integers. Find x+y

Guest Mar 18, 2021