Find the largest three-digit number such that the number minus the sum of its digits is a perfect square.
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.
Let the digits of the number be a , b and c . The value of the number becomes 1 0 0 a + 1 0 b + c .
So the number minus the sum of its digits is
1 0 0 a + 1 0 b + c − ( a + b + c )
= 9 9 a + 9 b
= 9 ( 1 1 a + b )
Now, as 9 is already a perfect square, we need 1 1 a + b to be a perfect square. We also need its maximum value.
Remember that a and b are digits. Their maximum value will be 9.
Since a is the hundreds digit, taking a = 9 will have a greater value than taking b = 9 .
So 1 1 a + b becomes 9 9 + b .
As b is also a digit, the maximum value of b is 9. But the only value of b for which 9 9 + b is a perfect square is 1. So b = 1 .
The maximum value of c we can take is 9, again as c is a digit.
So the number is 9 1 9