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 x2−y2=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=x2−y2=99(a2−b2)=99(a+b)(a−b). \begin{aligned} m^2 &= x^2 - y^2 \\ &= 99(a^2 - b^2) \\ &= 99(a+b)(a-b). \end{aligned} Since 99=9⋅11,99 = 9 \cdot 11, for m2m^2 to be a perfect square we need (a+b)(a−b)(a+b)(a-b) to be divisible by 11.11. As a+b≤17,a + b \le 17, this forces a+b=11,a + b = 11, and then a−ba - b must itself be a perfect square. With a−b≤8,a - b \le 8, the only workable case is a−b=1,a - b = 1, giving (a,b)=(6,5).(a, b) = (6, 5). Then x=65,x = 65, y=56,y = 56, and m2=99⋅11=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.
AoPS wiki

Tagged: digits · difference of squares · perfect square

More practice