# Modular arithmetic

**Topic:** Maths · Number theory  
**Page:** https://curium.ctopass.com/en/c/arithmetique-modulaire  
**Updated:** 2026-09-28

## 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.

## Explore next

- [Sieve of Eratosthenes](https://curium.ctopass.com/en/c/crible-d-eratosthene.md)
- [Goldbach's conjecture](https://curium.ctopass.com/en/c/conjecture-de-goldbach.md)
- [Euclidean division](https://curium.ctopass.com/en/c/division-euclidienne.md)
- [Fermat's little theorem](https://curium.ctopass.com/en/c/petit-theoreme-de-fermat.md)
- [Equivalence relation](https://curium.ctopass.com/en/c/relation-d-equivalence.md)
- [Srinivasa Ramanujan](https://curium.ctopass.com/en/c/srinivasa-ramanujan.md)
- [Bachet-Bézout theorem](https://curium.ctopass.com/en/c/theoreme-de-bachet-bezout.md)
- [Fermat's Last Theorem](https://curium.ctopass.com/en/c/dernier-theoreme-de-fermat.md)
- [Euclid's lemma](https://curium.ctopass.com/en/c/lemme-d-euclide.md)
- [Mersenne prime](https://curium.ctopass.com/en/c/nombre-de-mersenne-premier.md)

---

Curium — Knowledge, one question at a time.

App Store: https://apps.apple.com/fr/app/curium/id6793886587
Google Play: https://play.google.com/store/apps/details?id=com.ctopass.curium
