Next:
Linear Congruences
Up:
Arithmetic Modulo
Previous:
Cancellation
Rules for Divisibility
Proposition 2.2
A number
is divisible by
if and only if the sum of the digits of
is divisible by
.
Proof
. Write
Since
,
from which the proposition follows.
Similarly, you can find rules for divisibility by
,
and
. What about divisibility by
?
William A Stein 2001-09-20