Is it possible that the sum of a perfect square's digits is equal to 1991?
If it is, enter the smallest one, if it isn't, enter 999.
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.
The rest of the divison of a number by 3 is equal to the rest of the division by 3 of the sum of that number's digits.
1 9 9 1 ≡ 2 ( m o d 3 )
So now we have to check if any number divided by 3 can have rest 2.
( 3 k ) 2 ≡ 0 ( m o d 3 )
( 3 k + 1 ) 2 = 9 k 2 + 6 k + 1 ≡ 1 ( m o d 3 )
( 3 k + 2 ) 2 = 9 k 2 + 1 2 k + 4 ≡ 1 ( m o d 3 )
This proves that the rest of the divion of a perfect square by 3 is either 0 or 1.
So there isn't a perfect squarte which digits add up to 1991.