A 2 digit number 'n' has a property that the sum of n and the number obtained by reversing the digits is a 'perfect square'. Find the number of pairs of values which 'n' can have, i.e., the number of values of n divided by 2.
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.
Nice first problem!
The number is of form 1 0 a + b where a and b are the digits. This number gets its digits reversed, and gets added to itself, giving ( 1 0 a + b ) + ( 1 0 b + a ) = 1 1 ( a + b ) .
Since 1 1 ( a + b ) has a factor of 1 1 and it is a square obtained by adding 2 -digit numbers, it must be equal to 1 1 2 = 1 2 1 .
1 1 ( a + b ) = 1 2 1 ⇒ a + b = 1 1
Since a and b are between 1 and 9 , the resulting pairs are: 2 + 9 , 3 + 8 , 4 + 7 and 5 + 6 , and the answer is 4