2025 AMC 12B Problem 17

Attempt Problem 17 of the 2025 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2025 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

17.

Each of the 99 squares in a 3×33 \times 3 grid is to be colored red, blue, or yellow in such a way that each red square shares an edge with at least one blue square, each blue square shares an edge with at least one yellow square, and each yellow square shares an edge with at least one red square. Colorings that can be obtained from one another by rotations and/or reflections are to be considered the same. How many different colorings are possible?
33
99
1212
1818
2727
Answer: C
Concepts:Burnside’s Lemmacasework
Small hint:
Every color must appear, and the cyclic conditions red →\to blue →\to yellow →\to red tightly constrain the layout
Big hint:
Count all valid colorings of the fixed (labeled) grid, then reduce by the 88 rotations and reflections using Burnside’s lemma
Solution:
First count colorings of the grid with its positions labeled. Checking the 2727 possible rows in succession and rejecting a row as soon as a square whose neighbors are now known lacks its required next color gives the following complete count by the numbers of red, blue, and yellow squares: (#R,#B,#Y)valid colorings(2,4,3)16(3,2,4)16(3,3,3)36(4,3,2)16 \begin{array}{c|c} (\#R,\#B,\#Y)&\text{valid colorings}\\ \hline (2,4,3)&16\\ (3,2,4)&16\\ (3,3,3)&36\\ (4,3,2)&16 \end{array} Thus the identity symmetry fixes 16+16+36+16=8416+16+36+16=84 colorings.
For the other symmetries, the fixed-coloring counts are 00 for each nontrivial rotation, 66 for each reflection across a horizontal or vertical axis, and 00 for each diagonal reflection. (For an axis reflection, a direct check of the three palindromic rows gives the 66 possibilities.) Therefore Burnside’s lemma gives 84+2⋅68=12. \frac{84+2\cdot6}{8}=12.
Thus, the correct answer is C.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.