Find the sum of all integers equal to the square of the sum of the digits of the number.
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.
Suppose such a number exists, and let that number be a 1 a 2 . . . a n . From the question, we have: a 1 a 2 . . . a n = ( a 1 + a 2 + . . . + a n ) 2 ⇒ L H S > 1 0 n − 1 , R H S < ( 1 0 n ) 2
In order for the equality to hold, the following must be true:
( 1 0 n ) 2 > 1 0 n − 1
It is evident that n can only be 1, 2 or 3. Hence, we have bounded the question sufficiently and we can check the square of every positive integer less than 28 to find the numbers satisfying the conditions.