123456789 divides by 9 without remainder, because its digits add to 45

The digit sum and the number leave the same remainder mod 9; here both are clean, and the quotient is 13717421.

Arithmetic and functions · Level: Classroom · Updated on 2026-11-10

Add the digits 1 to 9 and the workbench prints 45, which is a multiple of 9. So is the number they came from: 123456789 mod 9 returns 0, and the division 123456789 ÷ 9 gives 13717421 — the screen writes it as 1.3717421⋅10+7. The rule is not a coincidence of this particular row of digits: a number and the sum of its digits always leave the same remainder when divided by 9, because 10, 100, 1000 and the rest are all 1 more than a multiple of 9.

The same congruence is why the old check on long multiplication worked. Cast out nines from each factor, multiply the two remainders, cast out nines again, and compare with the remainder of the product; if they differ, a digit was wrong somewhere. The test catches every error that is not itself a multiple of 9 in disguise — transposing two digits is exactly the common blunder it misses, since a transposition changes the number by a multiple of 9. That blind spot is the reason the rule survived in bookkeeping longer than in arithmetic.

Answer

0

How to read it

123456789 mod 9. The second link adds the digits to 45; the third divides and prints 1.3717421⋅10+7, that is 13717421.

Source

The rule follows from 10 ≡ 1 (mod 9), so every place value is congruent to its digit; the resulting check of casting out nines was the standard verification of hand multiplication in school arithmetic until the mid twentieth century

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.