CURIUM
Why is modular arithmetic taught on a clock face?

Modular arithmetic

Why is modular arithmetic taught on a clock face?

Because at eleven o'clock, adding four hours gives three, not fifteen. The clock face stops at twelve and restarts, and modular arithmetic only ever keeps the remainder.

MathsNumber theory

The three levels

Beginner

Why is modular arithmetic taught on a clock face?

Because at eleven o'clock, adding four hours gives three, not fifteen. The clock face stops at twelve and restarts, and modular arithmetic only ever keeps the remainder.

Intermediate

What modulo-97 calculation protects every European wire transfer?

An IBAN is verified by rearranging it. Each letter is replaced by a number, then the remainder when divided by 97 is calculated. It must equal exactly one. A typo or two swapped digits almost always change this remainder. The transfer is rejected before being sent.

Expert

Why does modular arithmetic make RSA both possible and secure?

Raising a number to a power modulo a very large integer is fast, even with a gigantic exponent. We proceed by successive squarings. The inverse operation resists all known classical algorithms. Recovering the exponent or factorizing the module. RSA lives in this gap between an easy operation and its reverse, which is unreachable.