Sum of the digits

Number Theory Level pending

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.


The answer is 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.

1 solution

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.

1991 2 ( m o d 3 ) 1991 \equiv 2 (mod 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 ) (3k)^2 \equiv 0 (mod 3)

( 3 k + 1 ) 2 = 9 k 2 + 6 k + 1 1 ( m o d 3 ) (3k+1)^2 = 9k^2 + 6k + 1 \equiv 1 (mod 3)

( 3 k + 2 ) 2 = 9 k 2 + 12 k + 4 1 ( m o d 3 ) (3k+2)^2 = 9k^2 + 12k + 4 \equiv 1 (mod 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.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...