(Divisibility rules)Let $S(N)$ be the sum of the digits of $N$.
- $N\equiv S(N)\pmod 9$; so $3\mid N\iff 3\mid S(N)$ and $9\mid N\iff 9\mid S(N)$.
- $N$ is congruent mod $11$ to the alternating sum of its digits, starting from the units digit with a plus sign.
- $2^k\mid N$ (or $5^k\mid N$) if and only if $2^k$ (or $5^k$) divides the number formed by the last $k$ digits of $N$.