# Modular Arithmetic & Congruence Classes

Canonical: https://manyspace.aporia.systems/topics/modular-arithmetic-congruence-classes-mth-numth-226
Updated: 2026-10-24

Mathematics · Number Theory · MTH-NUMTH-226

- Difficulty: 3 / 5
- Importance: 4 / 5
- Study time: 4–8 h

congruence classes, arithmetic modulo n

## Why it matters

The oldest pure mathematics, now central to cryptography and computer security; also the training ground for abstract algebra.

## Where it is used

RSA and elliptic-curve cryptography, hash functions, error-correcting codes, digital signatures.

## How you know you have learned it

Write 2 independent rigorous proofs + critique/correct one flawed proof.

## What you need first

- [Direct Proof](https://manyspace.aporia.systems/topics/direct-proof-mth-proofs-104) (required)
- [Counting Principles](https://manyspace.aporia.systems/topics/counting-principles-mth-disc-112) (helpful)

## What it opens

- [Linear Congruences & CRT](https://manyspace.aporia.systems/topics/linear-congruences-crt-mth-numth-227)
- [Fermat's Little Theorem & Euler's Theorem](https://manyspace.aporia.systems/topics/fermat-s-little-theorem-euler-s-theorem-mth-numth-228)

## Resources

- Elementary Number Theory (Rosen) — Kenneth Rosen
