AMC 10 · 2025 · #4

Grade 8 number-theory
base-conversiondigit-decompositionlinear-diophantine convert-to-algebra ↑ Prerequisites: base-conversion
📏 Short solution 💡 2 insights
Problem
A two-digit numeral whose digits are a then b is read in base seven. Reversing the digits gives the numeral b then a, which is read in base nine. The two numerals have the same value. Find the sum a+b of the two digits.

Pick an answer.

(A)
7
(B)
9
(C)
10
(D)
11
(E)
14

AMC 10 2025 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

How to solve
Strategy Introduce a Variable

The digits a and b are the unknowns, so Tool #4 (Introduce a Variable) names them and turns the place-value meaning of each numeral into an equation. Solving that equation only pins down the ratio of the digits, so Tool #6 (Guess and Check) tests the small digit pairs that fit, and Tool #3 (Eliminate Possibilities) uses the base-seven digit limit (a,b ≤ 6) to throw out the larger pair that also fits the ratio but is an illegal digit.

1STEP 1

Write each numeral by place value

Place value makes the left digit worth one base each: 7a+b in base seven, and 9b+a for the reversed numeral in base nine.

a b_ 7=7a+b, b a_ 9=9b+a
2STEP 2

Set the values equal and simplify

Equating them gives 7a+b=9b+a; gathering like terms leaves 6a=8b, and halving both sides reaches 3a=4b.

7a+b=9b+a → 6a=8b → 3a=4b
3STEP 3

Find the digits and add

So a:b=4:3; the next pair (8,6) breaks the base-seven digit limit, leaving a=4, b=3 and a+b=7.

3a=4b→ a:b=4:3→ (a,b)=(4,3); a+b=7 → (A)
Answer
7
Both numerals evaluate to 31, so the setup is consistent: 7·4+3=31 and 9·3+4=31. The digits 4 and 3 are each below 7, so they are legal in base seven (and base nine), and the leading digit 4 is nonzero, so a b really is a two-digit number. The sum 4+3=7 matches (A). The larger ratio pair (8,6) would give 8+6=14, exactly the trap in (E), but 8 is not a base-seven digit, so it is correctly rejected.
💡Key takeaway

A two-digit number in any base is just the base times the first digit plus the second digit, so writing that out turns a base puzzle into a simple equation.

  • Write each numeral by place value
  • Set the values equal and simplify
  • Find the digits and add