
Casting Out Nines
안내
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.
이 단계의 재료:
Graph Paper1 pad
Graphite Pencil Set1 세트Check 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.
재료
2- 1 pad플레이스홀더
- 플레이스홀더
CC0 퍼블릭 도메인
이 블루프린트는 CC0로 공개되었습니다. 어떤 목적으로든 자유롭게 복사, 수정, 배포 및 사용할 수 있습니다.
제품 구매를 통해 메이커를 지원하세요. 판매자가 설정한 메이커 커미션 을 받거나, 이 블루프린트의 새로운 반복을 만들어 연결로 포함시킬 수 있습니다.
