2018 AMC 10A Problem 20

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

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

20.

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:symmetrymultiplication principle
Small hint:
Classify grid squares by symmetry orbits
Big hint:
Choose one color per orbit, excluding the two constant colorings
Solution:
Number rows and columns from −3-3 through 3,3, with the center at (0,0).(0,0). Rotations and reflections can change signs and exchange coordinates, so the orbit of (x,y)(x,y) is determined by the ordered pair obtained by sorting (∣x∣,∣y∣).(|x|,|y|). These pairs are (u,v)(u,v) with 0≤u≤v≤3,0\le u\le v\le3, of which there are 4+3+2+1=10.4+3+2+1=10.
Once one square in each orbit is colored, symmetry forces the colors of all other squares in that orbit.
There are therefore 2102^{10} symmetric colorings before the condition about using both colors. The all-black and all-white colorings are not allowed.
The total number of valid symmetric scanning codes is 210−2=10222^{10}-2=1022. Thus, B is the correct answer.
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.