πŸ‡ΊπŸ‡Έ AMC 8 ⇄ switch contest
2023 AMC 8

Problem 16

Problem 16 · 2023 AMC 8 Medium
Number Theory divisibilitysymmetry
Figure for AMC 8 2023 Problem 16
Show answer
Answer: C — 133 Ps, 134 Qs, 133 Rs.
Show hints
Hint 1 of 2
20 isn't a multiple of 3, so the three letters can't come out perfectly equal — 400 = 3 × 133 + 1 means exactly one letter gets one extra. The real work is finding which letter.
Still stuck? Show hint 2 →
Hint 2 of 2
Trick to balance the board: pretend you add a 21st column that's a copy of column 3. Each row of P,Q,R repeating across 21 cells holds exactly 7 of each — perfectly even. Then just subtract back off the column you added.
Show solution
Approach: pad to a clean width, then subtract the extra column
  1. Since 20 isn't divisible by 3, the counts can't be equal: 400 = 3 × 133 + 1, so two letters tie at 133 and one gets 134. The whole question is which letter wins the leftover.
  2. Make the width friendly: imagine appending a 21st column identical to the 3rd column. Now every row spans 21 = 3 × 7 cells, so each row has exactly 7 P, 7 Q, 7 R. Over 20 rows that's 140 of each — perfectly balanced.
  3. Now undo it: the column you added (a copy of column 3, which reads P, R, Q, P, R, … down 20 cells) contains 7 Ps, 6 Qs, 7 Rs. Subtract from 140 each: 140−7 = 133 Ps, 140−6 = 134 Qs, 140−7 = 133 Rs.
  4. So the table has 133 Ps, 134 Qs, 133 Rs. This transfers: when a repeating pattern doesn't fit evenly, pad it to a clean multiple where counting is trivial, then subtract the padding.
Another way — tile with 1×3 triominoes (MAA):
  1. Any 1×3 straight tile laid on the pattern covers exactly one P, one Q, and one R. So wherever the board tiles cleanly, the three letters stay perfectly balanced.
  2. Split the 20×20 board into an 18×18 square, a 2×18 strip, an 18×2 strip (all divisible by 3, so balanced), plus a leftover 2×2 corner.
  3. That corner reads Q R / P Q — one extra Q. So the whole board has one more Q than P or R: 133 Ps, 134 Qs, 133 Rs.
Mark: · log in to save