AMC 10 Step by Step

2010 AMC 10A Problem 9

P1-10~2 minPrint

A palindrome, such as 8343883438 , is a number that remains the same when its digits are reversed. The numbers xx and x+32x+32 are three-digit and four-digit palindromes, respectively. What is the sum of the digits of xx ?

Log in to save your progress.
Show solution without answering

Key insight

A three-digit number plus 32 has four digits only if the number is at least 968. That leaves 969, 979, 989, 999, and only 969 + 32 = 1001 works.

Solution

The key fact is that adding just 3232 turns a three-digit number into a four-digit number. That can only happen near 10001000.

1. Four-digit numbers start at 10001000, so x+32≥1000x + 32 \ge 1000, which means x≥968x \ge 968. Also x≤999x \le 999 because it has three digits.
2. A three-digit palindrome between 968968 and 999999 must start and end with 99, so it looks like 9_99\_9. The middle digit must make it at least 968968, so the options are
969,979,989,999.969,\quad 979,\quad 989,\quad 999.
3. Add 3232 to each and check whether the result reads the same backwards:

xx969969979979989989999999
x+32x + 3210011001101110111021102110311031
palindrome?yesnonono
  1. So x=969x = 969, and its digit sum is 9+6+9=249 + 6 + 9 = 24.

The answer is (E) 24\boxed{\textbf{(E)}\ 24}.

Why this works

When a small addition changes the number of digits, the number must sit just below a power of 1010 like 10001000. That squeezes the possibilities down to a short list you can simply check. Look for a size limit like this before setting up digit algebra.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Since xx has three digits and x+32x + 32 has four, we need x+32≥1000x + 32 \ge 1000, i.e. 968≤x≤999968 \le x \le 999.

The three-digit palindromes in that range have the form 9a99a9 with a≥6a \ge 6: they are 969,979,989,999969, 979, 989, 999. Adding 3232 gives 1001,1011,1021,10311001, 1011, 1021, 1031. Only 10011001 reads the same backwards.

So x=969x = 969, and its digit sum is 9+6+9=249 + 6 + 9 = 24.

The answer is (E) 24\boxed{\textbf{(E)}\ 24}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.