AMC 10 · 2005 · #24

Grade 8 arithmetic
difference-of-squaresdigit-decompositionperfect-squares convert-to-algebracasework ↑ Prerequisites: difference-of-squaresperfect-squaresdigit-decomposition
📏 Long solution 💡 3 insights
Problem
x is a two-digit integer, and y is the two-digit integer you get by reversing the digits of x. They satisfy x² - y² = m² for some positive integer m. What is x + y + m?

Pick an answer.

(A)
88
(B)
112
(C)
116
(D)
144
(E)
154

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

How to solve
Strategy Introduce a Variable

Name the two digits so the reversed number becomes an expression. Turning the digit-swap into algebra reveals a clean factorization, and then divisibility rules narrow the digits down to a single possibility.

1STEP 1

Name the digits

Let the digits be a and b, so x = 10a + b and reversing gives y = 10b + a, with a and b each from 1 to 9.

x = 10a + b, y = 10b + a
2STEP 2

Factor the difference of squares

Factoring, x² - y² = (x - y)(x + y) = 9(a - b) · 11(a + b) = 99(a - b)(a + b).

x² - y² = (x-y)(x+y) = 9(a-b) · 11(a+b) = 99(a-b)(a+b)
3STEP 3

Force a perfect square

Since 99 = 3² · 11, the lone 11 needs a partner; a - b is at most 8, so the sum must supply it: a + b = 11.

99(a-b)(a+b) = 3² · 11·(a-b)(a+b) → a+b = 11
4STEP 4

Pin down the digits

Then m² = 1089(a - b), so a - b is an odd perfect square; a - b = 9 would force a = 10, leaving a = 6, b = 5.

1089(a-b)=m²; a+b=11, a-b=1 → a=6, b=5
5STEP 5

Add up x, y, and m

So x = 65, y = 56, and m² = 1089 gives m = 33, hence x + y + m = 154, choice (E).

x=65, y=56, m=√(1089)=33 → 65+56+33 = 154
Answer
154
Check directly: 65² - 56² = 4225 - 3136 = 1089 = 33², a genuine perfect square, so m = 33 works. The digits 6 and 5 are valid, and 65 + 56 + 33 = 154 matches choice (E).
💡Key takeaway

Write a two-digit number as 10a + b, and a difference of reversed squares always becomes 99 times (a - b)(a + b) -- then the primes tell you which digits fit.

  • Name the digits
  • Factor the difference of squares
  • Force a perfect square
  • Pin down the digits
  • Add up x, y, and m