AMC 10 · 2006 · #20

Grade 7 probabilitygeometry-3d
probability-basicsystematic-enumerationspatial-visualization casework ↑ Prerequisites: probability-basic
📏 Long solution 💡 4 insights
Problem
A bug walks 7 random edges on a cube, each of the three edges equally likely at every step. Find the probability it visits all eight corners exactly once.

Pick an answer.

(A)
$\frac{1}{2187}$
(B)
$\frac{1}{729}$
(C)
$\frac{2}{243}$
(D)
$\frac{1}{81}$
(E)
$\frac{5}{243}$
How to solve
Strategy Make a Systematic List

Because every 7-move sequence is equally likely, the probability is just (number of successful walks) divided by (number of all walks) — that is the subproblem split (Tool #7). Counting all walks is easy: 3 choices per move. The hard half is counting the successful walks, which are exactly the routes that touch all 8 corners without repeating one. To count those cleanly you must name the corners, so draw and label the cube (Tool #1) and hold its shape in mind (Tool #17). Then walk through the possibilities in an orderly way (Tool #2, the 'how many ways' tool): fix the first move by symmetry, and follow the forced branches until every good route is listed. A systematic list is the right instrument because the successful routes are few and highly constrained — most partial walks paint themselves into a corner.

1STEP 1

Turn probability into a count of routes

Equal steps turn the probability into a count of routes.

P(success) = (#{good routes})/(#{all routes})
2STEP 2

Count all possible routes

Multiplying the choices gives 2187 routes in all.

#{all routes} = 3⁷ = 2187
3STEP 3

Label the cube and pin down the first move

Symmetry lets one first move stand for all three.

A → {B, D, E}, all 3 symmetric → count A→ B routes, then × 3
4STEP 4

List every good route after A to B

Listing the forced continuations gives 6 good routes per branch.

A→ B: (B→ C) 3 + (B→ F) 3 = 6 good routes
5STEP 5

Total the good routes and form the probability

Totalling and reducing gives 2/243, choice (C).

P = (3 × 6)/3⁷ = 18/2187 = 2/243 → (C)
Answer
2/243
The count 18 is believable: a successful route is a Hamiltonian path of the cube from a fixed start, and the cube is symmetric enough that these come in a small, tidy number. A quick sanity check on the size — 18/2187 is a bit under 1%, which fits: touching all 8 corners in exactly 7 non-repeating moves is a demanding, rare event, so a probability near a hundredth is sensible. The value also lands exactly on an answer choice, 2/243, and no arithmetic was fudged to get there: 2187 = 3⁷ and 18/9 = 2, 2187/9 = 243.
💡Key takeaway

Every 7-move path is equally likely, so the answer is just (paths that hit all 8 corners once) over (all 3⁷ = 2187 paths); careful listing shows only 18 good paths, giving 18/2187 = 2/243.

  • Turn probability into a count of routes
  • Count all possible routes
  • Label the cube and pin down the first move
  • List every good route after A to B
  • Total the good routes and form the probability