Skip to main content

2005 AMC 10B Problem 24

Problem 24 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

Write x=10a+bx = 10a + b and y=10b+ay = 10b + a with a>b.a \gt b. Then m2=x2y2=99(a2b2)=99(a+b)(ab). \begin{aligned} m^2 &= x^2 - y^2 \\ &= 99(a^2 - b^2) \\ &= 99(a+b)(a-b). \end{aligned} Since 99=911,99 = 9 \cdot 11, for m2m^2 to be a perfect square we need (a+b)(ab)(a+b)(a-b) to be divisible by 11.11. As a+b17,a + b \le 17, this forces a+b=11,a + b = 11, and then aba - b must itself be a perfect square. With ab8,a - b \le 8, the only workable case is ab=1,a - b = 1, giving (a,b)=(6,5).(a, b) = (6, 5). Then x=65,x = 65, y=56,y = 56, and m2=9911=332,m^2 = 99 \cdot 11 = 33^2, so m=33.m = 33. Therefore x+y+mx + y + m =65+56+33= 65 + 56 + 33 =154.= 154. Thus, E is the correct answer.

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.