Skip to main content

2005 AMC 12B Problem 19

Problem 19 of 25HarderAlgebraNumber Theory

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 x2y2=m2x^2 - y^2 = m^2 for some positive integer m.m. What is x+y+m?x + y + m?

Answer choices

Show solution

Solution

Let x=10a+bx = 10a + b and y=10b+ay = 10b + a with a>b.a \gt b. Then x2y2=(10a+b)2(10b+a)2=99(a2b2)=99(a+b)(ab). \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=911,99 = 9 \cdot 11, for this to be a perfect square we need (a+b)(ab)(a+b)(a-b) to be a multiple of 11.11. As a+b17a + b \le 17 and ab8,a - b \le 8, the only multiple of 1111 available is a+b=11.a + b = 11. Then x2y2=9112(ab),x^2 - y^2 = 9 \cdot 11^2 (a - b), which is a perfect square exactly when aba - b is a perfect square. Because a+b=11a+b=11 is odd, aba-b is odd; and because 1ab8,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=652562m = \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.

More practice

Concepts: digits · difference of squares · perfect square

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.