# Difference between revisions of "2021 AMC 12A Problems/Problem 23"

## Problem

Frieda the frog begins a sequence of hops on a $3 \times 3$ grid of squares, moving one square on each hop and choosing at random the direction of each hop-up, down, left, or right. She does not hop diagonally. When the direction of a hop would take Frieda off the grid, she "wraps around" and jumps to the opposite edge. For example if Frieda begins in the center square and makes two hops "up", the first hop would place her in the top row middle square, and the second hop would cause Frieda to jump to the opposite edge, landing in the bottom row middle square. Suppose Frieda starts from the center square, makes at most four hops at random, and stops hopping if she lands on a corner square. What is the probability that she reaches a corner square on one of the four hops?

$\textbf{(A)} ~\frac{9}{16}\qquad\textbf{(B)} ~\frac{5}{8}\qquad\textbf{(C)} ~\frac{3}{4}\qquad\textbf{(D)} ~\frac{25}{32}\qquad\textbf{(E)} ~\frac{13}{16}$

## Solution

We can draw a state diagram with three states: center, edge, and corner. Denote center by M, edge by E, and corner by C. There are a few ways Frieda can reach a corner in four or less moves: EC, EEC, EEEC, EMEC. Then, calculating the probabilities of each of these cases happening, we have $1\cdot\tfrac{1}{2}+1\cdot\tfrac{1}{4}\cdot\tfrac{1}{2}+1\cdot\tfrac{1}{4}\cdot\tfrac{1}{4}\cdot\tfrac{1}{2}+1\cdot\tfrac{1}{4}\cdot1\cdot\tfrac{1}{2}=\tfrac{25}{32}$, so the answer is $\boxed{D}$. ~IceWolf10