Number Theory
Number Theory
Section titled “Number Theory”Info: University module; from the Euclidean algorithm to RSA.
Number theory is the arithmetic of the integers: primes, divisibility, congruences, and the deep structure hiding behind them. It is the oldest branch of mathematics and the foundation of modern cryptography. This module builds the theory from first principles (divisibility and Bézout) to public-key encryption (RSA, Diffie–Hellman).
Module Structure
Section titled “Module Structure”Foundations
Section titled “Foundations”- Divisibility and the Euclidean Algorithm; division algorithm, gcd, Bézout, extended Euclid
- Primes and the Fundamental Theorem of Arithmetic; Euclid’s infinitude proof, unique factorisation, divisor counting
Congruence Arithmetic
Section titled “Congruence Arithmetic”- Congruences; residue classes, the ring , exponent reduction
- Fermat, Euler and Wilson Theorems; exponent reduction laws, the totient, primality certificates
- Linear Congruences and the Chinese Remainder Theorem; solvability, CRT with proof, non-coprime systems
Structure of the Multiplicative Group
Section titled “Structure of the Multiplicative Group”- Arithmetic Functions; , , , , multiplicativity, Möbius inversion
- Primitive Roots and Discrete Logarithms; element orders, indices, which moduli have primitive roots
Quadratic and Diophantine Theory
Section titled “Quadratic and Diophantine Theory”- Quadratic Residues; Euler’s criterion, Legendre symbol, quadratic reciprocity
- Pell’s Equation and Sums of Squares; continued-fraction solutions, two-square and four-square theorems
The Big Picture
Section titled “The Big Picture”- The Distribution of Primes; Bertrand, Dirichlet, the Prime Number Theorem
- Continued Fractions; convergents, best approximations, periodic expansions
- Number Theory and Cryptography; RSA, Diffie–Hellman, ElGamal
Prerequisites
Section titled “Prerequisites”Comfort with proof by induction and contradiction. Everything else is built in-module from the division algorithm onward.
Assessment Alignment
Section titled “Assessment Alignment”- Computation: Euclidean algorithm, modular exponentiation, CRT reconstructions
- Proof: Euclid’s lemma, Fermat and Euler theorems, CRT uniqueness, quadratic reciprocity
- Applications: linear congruence systems, primality testing, RSA and Diffie–Hellman