🇺🇸 AMC 8 ⇄ switch contest
2024 AMC 8

Problem 15

Problem 15 · 2024 AMC 8 Hard
Number Theory factorizationcaseworkwork-backward

Let the letters F, L, Y, B, U, G represent distinct digits. Suppose FLYFLY is the greatest number that satisfies the equation

8 · FLYFLY = BUGBUG.

What is the value of FLY + BUG?

Show answer
Answer: C — 1107.
Show hints
Hint 1 of 2
A number that repeats a 3-digit block, like ABCABC, isn't random — it's the block times something. What number, when multiplied by 123, gives 123123?
Still stuck? Show hint 2 →
Hint 2 of 2
Key fact: ABCABC = 1001 × ABC. So FLYFLY = 1001·FLY and BUGBUG = 1001·BUG, and the whole equation collapses to 8 · FLY = BUG.
Show solution
Approach: strip the repeat, then maximize digit-by-digit
  1. The repeated block is the doorway: ABCABC = ABC×1000 + ABC = 1001·ABC. So FLYFLY = 1001·FLY, BUGBUG = 1001·BUG, and dividing both sides by 1001 leaves the tiny equation 8 · FLY = BUG.
  2. BUG is still only 3 digits, so 8 · FLY < 1000 → FLY ≤ 124. That forces F = 1, and the tens digit L ≤ 2 (if L = 3, 8·13Y already exceeds 1040).
  3. We want the GREATEST FLY, so push digits up. L = 2 (1 is taken by F). Now test the units Y from high down, needing all six digits F,L,Y,B,U,G distinct: Y = 4 gives 8·124 = 992 (repeated 9, fails); Y = 3 gives 8·123 = 984, digits {1,2,3,9,8,4} all different ✓.
  4. FLY + BUG = 123 + 984 = 1107. You'll see it again: 1001 = 7×11×13 is the workhorse behind every ABCABC pattern — spotting the repeated block lets you divide a 6-digit monster down to 3 digits.
Mark: · log in to save