AMC 10 Step by Step

2015 AMC 10B Problem 20

P16-20~5 minPrint

Erin the ant starts at a given corner of a cube and crawls along exactly 77 edges in such a way that she visits every corner exactly once and then finds that she is unable to return along an edge to her starting point. How many paths are there meeting these conditions?

Log in to save your progress.
Show solution without answering

Key insight

Color corners in two colors so each edge joins different colors. After 7 moves Erin must end on the corner opposite the start.

Solution

Step 1: where can the path end?

  1. Color the cube's corners black and white so that every edge joins a black corner to a white one. (Think of the top face as a checkerboard, and the bottom face with the colors swapped.)
  2. Every move along an edge changes color. After 77 moves, an odd number, Erin is on the opposite color from where she started.
  3. The corners with the opposite color are the 33 corners next to the start and the 11 corner directly opposite the start (the far end of the long diagonal through the cube).
  4. She cannot end next to the start, because then she could walk back. So every good path ends at the opposite corner.

Step 2: count the paths.

5. Name the top corners A,B,C,DA, B, C, D going around, and the bottom corners E,F,G,HE, F, G, H with EE under AA, FF under BB, GG under CC, HH under DD. Start at AA. The opposite corner is GG, so GG must be the last corner visited, and she must avoid it until then.
6. From AA there are 33 first moves, and the cube looks the same whichever one she takes. So count the paths that start A→BA \to B, then multiply by 33.
7. From BB she can go to CC or FF.
- A,B,CA, B, C: next is DD or GG. She must save GG, so DD. From DD only HH is new. From HH she must save GG, so EE. From EE only FF is new, then GG. One path: A,B,C,D,H,E,F,GA, B, C, D, H, E, F, G.
- A,B,FA, B, F: next is EE or GG. Save GG, so EE. From EE only HH is new. From HH save GG, so DD. From DD only CC is new, then GG. One path: A,B,F,E,H,D,C,GA, B, F, E, H, D, C, G.
8. That is 22 paths for each first move, so 3⋅2=63 \cdot 2 = 6 paths.

The answer is (A) 6\boxed{\textbf{(A)}\ 6}.

Why this works

Two-coloring the corners is a standard first step for walks on a grid or a cube: it tells you where the walk can possibly end before you count anything. Once the end is known, the rule "do not step on the finish early" forces almost every move, so the counting is short. The cube's symmetry lets you count one branch and multiply.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Color the cube's corners black and white so that every edge joins different colors (this works: color a corner by the parity of its coordinate sum). Each move flips the color, so after 77 moves Erin is on the opposite color from her start. The opposite-colored corners are the three neighbors of the start and the single antipodal corner. "Unable to return along an edge" rules out the neighbors, so every valid path must end at the antipode.

Label the top face ABCDABCD and the bottom face EFGHEFGH with EE below AA, FF below BB, etc. Start at AA; the antipode is GG. By symmetry the three first moves are equivalent, so count paths beginning A→BA \to B and multiply by 33.

From BB the next corner is CC or FF (not AA).

  • A,B,CA, B, C: from CC the unvisited neighbors are DD and GG, but GG must be last, so DD. Then HH is forced, then EE (again saving GG), then FF, then GG. One path.
  • A,B,FA, B, F: from FF go to EE (saving GG), then HH is forced, then DD (saving GG), then CC, then GG. One path.

So there are 22 paths per first move and 3⋅2=63 \cdot 2 = 6 in all.

The answer is (A) 6\boxed{\textbf{(A)}\ 6}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.