SOLUTION: can there be a perfect square whose digits consist of exactly 4 ones, 4 twos and 4 zeros in any order?

Algebra ->  Finance -> SOLUTION: can there be a perfect square whose digits consist of exactly 4 ones, 4 twos and 4 zeros in any order?       Log On


   



Question 1136151: can there be a perfect square whose digits consist of exactly 4 ones, 4 twos and 4 zeros in any order?

Answer by ikleyn(52781) About Me  (Show Source):
You can put this solution on YOUR website!
.

Let N = n%5E2 be such a number.


Since the sum of digits of the number  " N "   4*1 + 4*2 +4*0 = 4 + 8 + 0 = 12  is divisible by 3,

it implies that the number N itself is divisible by 3  (the "divisibility by 3 rule").



In turn, it implies that the number " n "  itself  is divisible by 3.



Then the number  n%5E2  is divisible by 3^2 = 9;  hence, the number N  is divisible by 9.



But the sum of the digits of the number N, which was calculated above as 12, is not divisible by 9.


It contradicts to the "divisibility by 9 rule". 


Hence, such a number N with assigned properties DOES NOT EXIST.


The proof is completed.

The problem is solved.

-----------------

On divisibility rules by 3 and by 9 see the lessons
    - Divisibility by 3 rule
    - Divisibility by 9 rule
in this site.