Don't use google!

Algebra Level pending

What is the largest 5-digit square palindrome?

Details and Assumptions:

1)A palindrome is number that reads the same forwards as it does backwards (i.e. 15451 is a palindrome, but 23916 is not ) Generally it reads: ( a b c ) 2 = x y z y x (\overline{abc})^2 = \overline{xyzyx} where all digits are not necessarily unique


The answer is 94249.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Curtis Clement
Mar 19, 2015

If we x {x} be the number that we want to square to obtain our 5-digit palindrome then it must satisfy: 111 x < 316 12321 x < 99856 111 \leq\ x < 316 \Rightarrow\ 12321 \leq\ x < 99856 Now x 2 x^{2} can end in a 1,4,5,6 or 9 , so let's start with 9 and go down if necessary. This means that x 2 = 9 a b a 9 x^2 = 9aba9 Keeping this in mind, let x = p q r \ x = pqr (with p = 3) such that: ( 300 + 10 q + r ) 2 = 90000 + 1000 ( 6 q ) + 100 ( 6 r + q 2 ) + 10 ( q r ) + r 2 (300+10q+r)^2 =90000 +1000(6q) +100(6r+q^2) +10(qr) +r^2 It is clear that the palindrome must end with a 9, so r = 3 o r 7 \ r = 3 \ or \ 7

1) If r = 3 \ r = 3 , then x 2 = 90000 + 1000 ( 6 q ) + 100 ( 18 + q 2 ) + 10 ( 6 q ) + 9 x^{2} = 90000 + 1000(6q) +100(18+q^2) +10(6q) +9 from which you can see that tens and thousands digit will not be equal because 18 + q 2 q^{2} > 10 , so a digit will carry.

2) If r = 7 \ r = 7 then: x 2 = 90000 + 1000 ( 6 q ) + 100 ( 42 + q 2 ) + 10 ( 14 q ) + 46 x^2 = 90000 + 1000(6q) + 100(42+q^2) +10(14q) + 46 Now by carrying factors of ten: x 2 = 90000 + 1000 ( 6 q + 4 ) + 100 ( 2 + q 2 + q ) + 10 ( 4 q + 4 ) + 9 x^2 = 90000 +1000(6q+4) +100(2+q^2 +q) +10(4q+4) + 9 If q= 0 then it is easy to see that 30 7 2 = 94249 307^2 = \boxed{94249} There can be no higher numbers as x \ x must end in a 7 and x < 316 \ x < 316

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...