Number Theory
The queen of mathematics — from the ancient Euclidean algorithm and prime factorisation to quadratic reciprocity, arithmetic functions, and modern cryptographic applications.
The fundamental structures of number theory rest on divisibility and prime numbers. The Euclidean algorithm and the Fundamental Theorem of Arithmetic form the bedrock of the subject.
Modular arithmetic provides a powerful algebraic framework for studying divisibility. The Chinese Remainder Theorem, Fermat's little theorem, and Euler's theorem are indispensable tools.
Quadratic residues reveal the structure of perfect squares modulo primes. The Legendre symbol and the law of quadratic reciprocity are central to this theory.
Arithmetic (number-theoretic) functions encode information about divisibility, prime decomposition, and structural properties of integers. Möbius inversion and Dirichlet convolution give them an algebraic structure.
Diophantine equations seek integer (or rational) solutions to polynomial equations. From linear equations to Pythagorean triples and Pell's equation, these problems lie at the heart of number theory.
Number theory has found spectacular applications in cryptography and computational mathematics. RSA encryption and primality testing are landmark achievements.
Public key: $(n, e)$. Private key: $d$.
Encryption: $c \equiv m^e \pmod{n}$.
Decryption: $m \equiv c^d \pmod{n}$.
Correctness follows from Euler's theorem: $m^{ed} = m^{1 + k\phi(n)} \equiv m \pmod{n}$.
- The Euclidean algorithm efficiently computes $\gcd$ and solves Bézout's identity; it underpins modular inverses and RSA.
- CRT solves systems of congruences with pairwise coprime moduli and underlies fast modular arithmetic.
- Euler's theorem ($a^{\phi(n)} \equiv 1$) generalises Fermat's little theorem and is the correctness foundation of RSA.
- Quadratic reciprocity reduces the question of whether $p$ is a QR mod $q$ to whether $q$ is a QR mod $p$.
- Möbius inversion and Dirichlet convolution give a ring structure to arithmetic functions.
- Pell's equation $x^2 - dy^2 = 1$ has infinitely many solutions generated by the fundamental solution.