are digits (not necessarily distinct) such that both the 5-digit integers and are both perfect square with . Find the sum of all possible values of .
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.
Since d c b a a is a perfect square, a = 1 , 4 , 5 , 6 , 9 . It is well known that n 2 ≡ 0 , 1 ( m o d 4 ) , hence d c b a a ≡ a a ( m o d 4 ) , leaving a = 4 as the only possible value of a . Therefore a a b c d = 4 4 b c d . Note that 2 0 9 2 = 4 3 6 8 1 < 4 4 0 0 0 , 2 1 0 2 = 4 4 1 0 0 > 4 4 0 0 0 , 2 1 2 2 = 4 4 9 4 4 < 4 5 0 0 0 , 2 1 3 2 = 4 5 3 6 9 > 4 5 0 0 0 , hence 4 4 b c d = 2 1 0 2 , 2 1 1 2 , 2 1 2 2 . Now 2 1 0 2 = 4 4 1 0 0 . This fails since d = 0 . Then 2 1 1 2 = 4 4 5 2 1 , 1 2 5 4 4 = 1 1 2 2 and 2 1 2 2 = 4 4 9 4 4 , so both 2 1 1 2 , 2 1 2 2 work. Thus the sum of all possible values of a b c d = 2 1 1 2 + 2 1 2 2 = 8 9 4 6 5 .