Clock arithmetic
Wrap the number line around a clock of size n and many different numbers land on the same mark.
What the symbols mean
- has the same remainder as
- the size of the clock
- numbers that land on the same spot
Why it works — the picture
On a 12-hour clock, 15 o'clock is 3 o'clock. Mathematicians say 15 is congruent to 3 mod 12. The great discovery is that you can add and multiply on the clock face and always get a consistent answer, so you can work with remainders instead of enormous numbers. Cycles, weekdays and digit tricks like casting out nines all come from this.
Try it yourself
- What day of the week will it be 100 days from today? (Hint: 100 mod 7.)
- A number is divisible by 9 exactly when its digits add to a multiple of 9. Why? (Hint: 10 mod 9 = 1.)
- What is the last digit of 7 to the power 2025?
Where it’s used in real life
Internet security (RSA and elliptic-curve cryptography), ISBN and credit-card check digits, calendars and hash functions.
The story behind it
Gauss introduced the congruence notation in his 1801 book on number theory.