
Casting Out Nines
Anweisungen
Find digital roots
Find digital roots
Reduce numbers to a single digit by repeated digit-summing.
- Take 4871: 4+8+7+1 = 20, then 2+0 = 2.
- Take 693: 6+9+3 = 18, then 1+8 = 9.
- Do a dozen more until it is quick.
Materialien für diesen Schritt:
Graph Paper1 pad
Graphite Pencil Set1 SetCheck a multiplication
Check a multiplication
Do the same operation on the roots.
- Multiply 4871 × 693 by hand and get an answer.
- Take the roots: 2 and 9.
- Multiply those: 2 × 9 = 18, root 9.
- Reduce your full answer to its root and compare.
Find what it cannot catch
Find what it cannot catch
Attack the checksum deliberately. This is the important step.
- Take a correct answer and SWAP two of its digits.
- Re-check the digital root.
- Now change a digit by exactly 9, or change a 0 to a 9.
Understand why nine
Understand why nine
The magic is a property of base ten, not of nine.
- Note that 10 ≡ 1 (mod 9), so 100 ≡ 1, 1000 ≡ 1, and so on.
- Therefore every digit contributes its face value regardless of position.
- The digit sum is congruent to the number itself, modulo 9.
History and context
History and context
The method travels with the Hindu-Arabic numeral system. It is described by Indian mathematicians, transmitted through Arabic works, and appears in Fibonacci's Liber Abaci (1202) and in the abbaco manuals that taught merchants' sons to calculate. Before mechanical calculators, checking arithmetic was a daily necessity and this was the standard tool.
Its descendants are everywhere and they are better designed. The final digit of an ISBN, the check digit on a bank account or IBAN, the Luhn algorithm on every credit card number — all are checksums built on the same idea, but using weighted sums specifically chosen so that transposing adjacent digits DOES change the result. They learned from the weakness you found in step 3.
The philosophy generalises to all of error detection. A checksum is a lossy summary: it can prove a difference but not an identity. Parity bits, CRCs and cryptographic hashes all sit on the same spectrum, differing only in how hard it is to produce a collision — and the arms race from casting out nines to SHA-256 is entirely about making accidental or deliberate collisions harder.
A caution worth carrying: passing a checksum is weak evidence, and treating it as proof is a real failure mode in practice. The correct reading of a passed check is no error detected, not no error present.
Materialien
2- 1 padPlatzhalter
- 1 SetPlatzhalter
Verwandte Blueprints
Diese Blueprints teilen Wissen — Techniken, Materialien oder Prinzipien
CC0 Gemeinfrei
Dieser Blueprint ist unter CC0 veröffentlicht. Sie dürfen dieses Werk für jeden Zweck frei kopieren, ändern, verbreiten und verwenden, ohne um Erlaubnis zu fragen.
Unterstützen Sie den Maker, indem Sie Produkte über seinen Blueprint kaufen, wo er eine Maker-Provision von Anbietern festgelegt, verdient. Oder erstellen Sie eine neue Iteration dieses Blueprints und verbinden Sie ihn in Ihrem eigenen Blueprint, um Einnahmen zu teilen.
