Number Theory Cheat Sheet
The core ideas of Number Theory distilled into a single, scannable reference — perfect for review or quick lookup.
Quick Reference
Prime Numbers
Natural numbers greater than 1 that have no positive divisors other than 1 and themselves. Primes are the fundamental building blocks of all integers through the Fundamental Theorem of Arithmetic.
Fundamental Theorem of Arithmetic
Every integer greater than 1 can be represented uniquely as a product of prime numbers, up to the order of the factors. This guarantees a single canonical prime factorization for every positive integer.
Modular Arithmetic
A system of arithmetic for integers in which numbers 'wrap around' upon reaching a certain value called the modulus. Two integers are congruent modulo $n$ if their difference is divisible by $n$.
Euclidean Algorithm
An efficient method for computing the greatest common divisor (GCD) of two integers by repeatedly applying the division algorithm. It is one of the oldest known algorithms still in widespread use.
Fermat's Little Theorem
If $p$ is a prime and $a$ is an integer not divisible by $p$, then $a^{p-1} \equiv 1 \pmod{p}$. This result underpins many primality tests and cryptographic protocols.
Euler's Totient Function
The function $\varphi(n)$ counts the number of integers from 1 to $n$ that are coprime to $n$. It generalizes Fermat's Little Theorem and is central to the RSA cryptosystem.
Diophantine Equations
Polynomial equations where only integer (or sometimes rational) solutions are sought. Named after Diophantus of Alexandria, they include famous problems such as Fermat's Last Theorem.
Chinese Remainder Theorem
A result stating that if one knows the remainders of an integer when divided by several pairwise coprime moduli, one can determine the remainder when divided by the product of those moduli uniquely.
Quadratic Reciprocity
A fundamental theorem describing the relationship between the solvability of two related quadratic equations modulo different primes. Gauss called it the 'golden theorem' and provided multiple proofs.
RSA Cryptosystem
A public-key encryption scheme whose security relies on the practical difficulty of factoring the product of two large prime numbers. It uses Euler's totient function to construct encryption and decryption keys.
Key Terms at a Glance
Get study tips in your inbox
We'll send you evidence-based study strategies and new cheat sheets as they're published.
We'll notify you about updates. No spam, unsubscribe anytime.