2018 AMC 12A Problem 15

Attempt Problem 15 of the 2018 AMC 12A 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 2018 AMC 12A solutions, or check the answer key.

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

15.

A scanning code consists of a 7×77 \times 7 grid of squares, with some of its squares colored black and the rest colored white. There must be at least one square of each color in this grid of 4949 squares. A scanning code is called symmetric if its look does not change when the entire square is rotated by a multiple of 90∘90^\circ counterclockwise around its center, nor when it is reflected across a line joining opposite corners or a line joining midpoints of opposite sides. What is the total number of possible symmetric scanning codes?
510510
10221022
81908190
81928192
65,53465{,}534
Answer: B
Concepts:symmetrybasic counting
Small hint:
The required symmetries force every square in one rotation-reflection orbit to share a color
Big hint:
There are 1010 independent orbits, each freely black or white; exclude the all-black and all-white codes
Solution:
Under the symmetry group of the square, the 4949 cells break into orbits, and every cell in an orbit must have the same color. Give a cell coordinates (i,j)(i,j) relative to the center, where −3≤i,j≤3.-3\le i,j\le3. Rotations and reflections can change signs and interchange the coordinates, so each orbit has one representative with 0≤i≤j≤3.0\le i\le j\le3. There are 1+2+3+4=101+2+3+4=10 such pairs. Each orbit is black or white, giving 2102^{10} colorings, but the all-black and all-white grids are excluded. So there are 210−2=10222^{10} - 2 = 1022 symmetric scanning codes.
Thus, the correct answer is B.
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.