Artificial intelligent assistant

Relation between digital root of a number and digital root of its square. Today i observed that; 1. If digital root of a number is 1 or 8 then digital root of its square is always 1; 2. If digital root of a number is 2 or 7 then digital root of its square is always 4; 3. If digital root of a number is 3 or 6 or 9 then digital root of its square is always 9; 4. If digital root of a number is 4 or 5 then digital root of its square is always 7; These observations hold true irrespective of the length of the number. How does this happen?

The digital root of a number is (almost) the remainder when the number is divided by $9$. The exception is that when a number is divisible by $9$, its digital root is traditionally taken to be $0$ or $9$. (I prefer $0$.)

Suppose for example that the digital root of $x$ is $8$. Then $x=9q+8$ for some $q$. It follows that $x^2=(9q+8)^2=81q^2+144q+64=9(9q^2+16q+7)+1$.

So the remainder when $x^2$ is divided by $9$ is $1$. It follows that the digital root of $x^2$ is $1$.

The others are done the same way.

**Remark:** We avoided congruence notation. It would make the calculation much simpler. For example, suppose that the digital root of $x$ is $4$. Then $x\equiv 4\pmod 9$. Thus $x^2\equiv 4^2\equiv 7\pmod{9}$.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 4c50b5c16d5d416829feeab5e7331408