2005 AMC 12B Problem 19

Attempt Problem 19 of the 2005 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2005 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

19.

Let xx and yy be two-digit integers such that yy is obtained by reversing the digits of x.x. The integers xx and yy satisfy x2−y2=m2x^2 - y^2 = m^2 for some positive integer m.m. What is x+y+m?x + y + m?
8888
112112
116116
144144
154154
Answer: E
Concepts:digitsdifference of squaresperfect square
Small hint:
Write x=10a+bx = 10a + b and y=10b+ay = 10b + a; then x2−y2=99(a2−b2)x^2 - y^2 = 99(a^2 - b^2)
Big hint:
For 99(a−b)(a+b)99(a-b)(a+b) to be a perfect square, a+ba+b must be 1111
Solution:
Let x=10a+bx = 10a + b and y=10b+ay = 10b + a with a>b.a \gt b. Then x2−y2=(10a+b)2−(10b+a)2=99(a2−b2)=99(a+b)(a−b). \begin{aligned} &x^2 - y^2 = (10a+b)^2 \\ &\quad {}- (10b+a)^2 \\ &= 99(a^2 - b^2) \\ &= 99(a+b)(a-b). \end{aligned}
Since 99=9⋅11,99 = 9 \cdot 11, for this to be a perfect square we need (a+b)(a−b)(a+b)(a-b) to be a multiple of 11.11. As a+b≤17a + b \le 17 and a−b≤8,a - b \le 8, the only multiple of 1111 available is a+b=11.a + b = 11.
Then x2−y2=9⋅112(a−b),x^2 - y^2 = 9 \cdot 11^2 (a - b), which is a perfect square exactly when a−ba - b is a perfect square. Because a+b=11a+b=11 is odd, a−ba-b is odd; and because 1≤a−b≤8,1 \le a-b \le 8, its only possible square value is 1.1. Hence (a,b)=(6,5).(a, b) = (6, 5).
So x=65,x = 65, y=56,y = 56, and m=652−562m = \sqrt{65^2 - 56^2} =1089=33.= \sqrt{1089} = 33. Thus x+y+mx + y + m =65+56+33=154.= 65 + 56 + 33 = 154.
Thus, the correct answer is E.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.