Skip to main content

2018 AMC 10A Problem 20

Problem 20 of 25HarderCounting & Probability

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 9090^{\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?

Answer choices

Show solution

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 0uv3,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 2102=10222^{10}-2=1022. Thus, B is the correct answer.

More practice

Concepts: symmetry · multiplication principle

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.