Insights · Michaël PerreaultThe Power of Mathematics and Numbers

Insights

Mathematical Reasoning

The di­vis­i­bil­i­ty rules for 33 and 99 are based on mod­u­lar arith­metic. Since 10≡1(mod3)10 \equiv 1 \pmod{3} and 10≡1(mod9)10 \equiv 1 \pmod{9}, each digit's po­si­tion in the number does not affect its di­vis­i­bil­i­ty by 33 or 99.

N≡d1+d2+…+dn(mod3)N \equiv d_1 + d_2 + \ldots + d_n \pmod{3}
N≡d1+d2+…+dn(mod9)N \equiv d_1 + d_2 + \ldots + d_n \pmod{9}

This el­e­gant prop­er­ty un­der­lies the sim­plic­i­ty of the rules.

Why Does This Work? Step-by-Step Ex­pla­na­tion

Sup­pose you have a number NN writ­ten in base 1010 with nn digits:

N=d1×10n−1+d2×10n−2+…+dn×100N = d_1 \times 10^{n-1} + d_2 \times 10^{n-2} + \ldots + d_n \times 10^0

To check di­vis­i­bil­i­ty by 33, con­sid­er how the powers of 1010 behave in modulo 33 arith­metic:

  • 100=1≡1(mod3)10^0 = 1 \equiv 1 \pmod{3}
  • 101=10≡1(mod3)10^1 = 10 \equiv 1 \pmod{3}
  • 102=100≡1(mod3)10^2 = 100 \equiv 1 \pmod{3}
  • And so on for higher powers.

So,

N≡d1×1+d2×1+…+dn×1(mod3)N \equiv d_1 \times 1 + d_2 \times 1 + \ldots + d_n \times 1 \pmod{3}
N≡d1+d2+…+dn(mod3)N \equiv d_1 + d_2 + \ldots + d_n \pmod{3}

The same logic holds for 99 be­cause 10≡1(mod9)10 \equiv 1 \pmod{9}.

Prac­ti­cal Ex­am­ple

Take N=5274N = 5274.

  • Com­pute the digit sum:
S=5+2+7+4=18S = 5 + 2 + 7 + 4 = 18
  • Since 1818 is di­vis­i­ble by both 33 and 99, 52745274 is di­vis­i­ble by both 33 and 99.

Vi­su­al­iz­ing with Mod­u­lar Arith­metic

If two num­bers are con­gru­ent modulo mm, that means their dif­fer­ence is a mul­ti­ple of mm. For di­vis­i­bil­i­ty by 33 or 99, the sum of the digits cap­tures all the rel­e­vant in­for­ma­tion about di­vis­i­bil­i­ty.

  • If N≡S(mod3)N \equiv S \pmod{3}, then NN and SS leave the same re­main­der when di­vid­ed by 33.
  • There­fore, if SS is di­vis­i­ble by 33, so is NN.

Di­vis­i­bil­i­ty by 66 — Com­bin­ing Rules

Since 6=2×36 = 2 \times 3, a number must be di­vis­i­ble by both 22 and 33 to be di­vis­i­ble by 66.

  • Di­vis­i­bil­i­ty by 22: The last digit is even.
  • Di­vis­i­bil­i­ty by 33: The sum of the digits is di­vis­i­ble by 33.

Why Not All Num­bers?

Note that these rules are spe­cial to 33 and 99 be­cause 10≡110 \equiv 1 modulo these num­bers. For other di­vi­sors (like 77 or 1111), sim­i­lar digit-based rules do not gen­er­al­ly apply or are more com­plex, be­cause 10≢110 \not\equiv 1 modulo those num­bers.

Fur­ther In­tu­ition

The dec­i­mal system (base 1010) is what makes these digit-sum rules pos­si­ble. In other number bases, sim­i­lar but dif­fer­ent rules can be de­vel­oped based on the re­la­tion­ship be­tween the base and the di­vi­sor.

  • In base bb:
  • A sim­i­lar rule holds for di­vi­sors of b−1b-1:
b≡1(modb−1)b \equiv 1 \pmod{b-1}
  • This means the sum of the digits of a number in base bb de­ter­mines di­vis­i­bil­i­ty by b−1b-1.
  • For di­vi­sors of b+1b+1, we have:
b≡−1(modb+1)b \equiv -1 \pmod{b+1}
  • This leads to an al­ter­nat­ing sum rule for di­vis­i­bil­i­ty by b+1b+1 (e.g., in base 10, 1111).

Un­der­stand­ing these pat­terns con­nects basic arith­metic to deeper struc­tures in math­e­mat­ics, such as mod­u­lar arith­metic, number bases, and the re­mark­able con­sis­ten­cy found through­out the number system.