AMC 10 · 2011 · #22

Grade 7 counting
graph-coloringrecursive-sequencepermutations-basic complementary-countingcasework ↑ Prerequisites: permutations-basic
📏 Long solution 💡 3 insights
Problem
A convex pentagon ABCDE has each of its 5 corners painted with one of 6 available colors. The only rule: the two endpoints of every diagonal must be different colors. The five sides carry no rule at all. Count how many colorings obey the rule.

Pick an answer.

(A)
2520
(B)
2880
(C)
3120
(D)
3250
(E)
3750

AMC 10 2011 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

How to solve
Strategy Draw a Diagram

The words "ends of each diagonal differ" hide a clean shape, so Tool #1 (Draw a Diagram) is the first move: draw only the diagonals and follow them. They form a five-pointed star, and walking the star visits all five vertices and returns to the start — it is one closed loop (a ring) of 5. That turns the problem into "color a ring of 5 so neighbors differ, using 6 colors." Tool #2 (Make a Systematic List) counts the easy open-chain version with the multiplication counting principle. Tool #7 (Identify Subproblems) and Tool #16 (Count the Complement) then repair the one link the chain ignored by subtracting the bad cases, which shrinks the ring by one and gives a short recursion.

1STEP 1

Turn the diagonals into a ring

Draw only the diagonals AC, CE, EB, BD, DA: walking A → C → E → B → D → A closes into one ring of 5 vertices, so sides never matter.

ring order: A - C - E - B - D - (A)
2STEP 2

Count the open chain first

Cut the link D - A and color the open chain A - C - E - B - D left to right: 6 choices for A, then 5 each, giving 3750.

6 · 5⁴ = 3750
3STEP 3

Spot the one broken rule

That chain count ignored the closing diagonal D - A, so subtract the chains where A and D happen to share a color.

(ring of 5) = 3750 - (chains with A = D)
4STEP 4

Glue the ends: a smaller ring

Forcing A and D equal merges them into one vertex, so the chain closes into a 4-ring and the bad count is just the 4-ring count.

R₅ = 6 · 5⁴ - R₄
5STEP 5

Work down to the 4-ring

Base case: the 3-ring is a triangle, 6 · 5 · 4 = 120. Then the 4-ring is 6 · 5³ - 120 = 630, the bad-chain count.

R₄ = 6 · 5³ - 120 = 750 - 120 = 630
6STEP 6

Finish the 5-ring

Chain minus bad: 3750 - 630 = 3120 valid colorings of pentagon ABCDE — choice (C).

R₅ = 3750 - 630 = 3120 → (C)
Answer
3120
The open-chain count 3750 (choice E) is a clean upper bound, because it obeys four of the five diagonal rules and ignores only the closing one; the real answer must be a little smaller, and 3120 < 3750 by a sensible 630. Choice E is exactly the trap for anyone who forgets the last diagonal. Independent check with the cycle-coloring formula (k-1)ⁿ + (-1)ⁿ (k-1) for n = 5, k = 6: 5⁵ - 5 = 3125 - 5 = 3120. Both routes agree, confirming (C).
💡Key takeaway

Hidden inside the pentagon, the diagonals form one five-point ring, so the puzzle is just "color a loop of 5 with 6 colors so neighbors differ": count the easy open chain (6 · 5⁴ = 3750), then subtract the 630 that break the last link to land on 3120.

  • Turn the diagonals into a ring
  • Count the open chain first
  • Spot the one broken rule
  • Glue the ends: a smaller ring
  • Work down to the 4-ring
  • Finish the 5-ring