Flipped Perfect Square

Number Theory Level pending

a , b , c , d a,b,c,d are digits (not necessarily distinct) such that both the 5-digit integers a a b c d \overline{aabcd} and d c b a a \overline{dcbaa} are both perfect square with a , d 0 a, d \neq 0 . Find the sum of all possible values of a a b c d \overline{aabcd} .


The answer is 89465.

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

Victor Loh
Jul 8, 2016

Since d c b a a \overline{dcbaa} is a perfect square, a = 1 , 4 , 5 , 6 , 9 a=1,4,5,6,9 . It is well known that n 2 0 , 1 ( m o d 4 ) n^2 \equiv 0,1 \pmod{4} , hence d c b a a a a ( m o d 4 ) \overline{dcbaa} \equiv \overline{aa} \pmod{4} , leaving a = 4 a=4 as the only possible value of a a . Therefore a a b c d = 44 b c d \overline{aabcd}=\overline{44bcd} . Note that 20 9 2 = 43681 < 44000 , 21 0 2 = 44100 > 44000 , 21 2 2 = 44944 < 45000 , 21 3 2 = 45369 > 45000 209^2=43681 < 44000, 210^2=44100>44000,212^2=44944<45000,213^2=45369>45000 , hence 44 b c d = 21 0 2 , 21 1 2 , 21 2 2 \overline{44bcd}=210^2, 211^2, 212^2 . Now 21 0 2 = 44100 210^2=44100 . This fails since d 0 d \neq 0 . Then 21 1 2 = 44521 , 12544 = 11 2 2 211^2 = 44521, 12544 = 112^2 and 21 2 2 = 44944 212^2=44944 , so both 21 1 2 , 21 2 2 211^2,212^2 work. Thus the sum of all possible values of a b c d = 21 1 2 + 21 2 2 = 89465 \overline{abcd}=211^2+212^2=\boxed{89465} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...