# Primitive Roots & Orders

Canonical: https://manyspace.aporia.systems/topics/primitive-roots-orders-mth-numth-229
Updated: 2026-10-24

Mathematics · Number Theory · MTH-NUMTH-229

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

order of elements, existence, discrete logarithms

## 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)
- [Fermat's Little Theorem & Euler's Theorem](https://manyspace.aporia.systems/topics/fermat-s-little-theorem-euler-s-theorem-mth-numth-228) (required)
- [Counting Principles](https://manyspace.aporia.systems/topics/counting-principles-mth-disc-112) (helpful)

## What it opens

- [Quadratic Residues](https://manyspace.aporia.systems/topics/quadratic-residues-mth-numth-230)

## Resources

- Elementary Number Theory (Rosen) — Kenneth Rosen
