The divisibility rules are not magic tricks: they all arise from the study of remainders, that is, from congruences.
Remark — The idea behind the proof
The rule for (and for ) follows from : every power of is , so a number , that is, it has the same remainder as the sum of its digits. The rule for follows instead from : we have , from which the alternating difference of the digits.
Congruences will be taken up systematically later on, in the study of number theory linked to RSA cryptography.
Links
Topics: Numbers and operations
Concepts: Congruence · Divisibility rules · Divisibility
Skills: Prove