Type to narrow the glossary.
- AKS
- The Agrawal–Kayal–Saxena test: an unconditional, deterministic algorithm that decides primality in time polynomial in the number of input digits.
- Arithmetic progression
- A sequence with a constant difference between successive terms. Dirichlet's and Green–Tao's theorems describe different ways primes occur in these sequences.
- Asymptotic
- Describes a limiting relationship as a parameter grows. f(x) ∼ g(x) means their ratio approaches 1, not that their difference approaches zero.
- Carmichael number
- A composite n satisfying an−1 ≡ 1 (mod n) for every integer a coprime to n. The smallest example is 561.
- Composite
- An integer greater than 1 with more than two positive divisors. For example, 12 = 3 × 4.
- Coprime
- Two integers whose greatest common divisor is 1. They need not individually be prime.
- Divisor
- An integer that divides another with no remainder. Our analyzer lists positive divisors, including 1 and the input itself.
- Fermat's Little Theorem
- For a prime p and any integer a, ap ≡ a (mod p). Do not confuse this with Fermat's Last Theorem.
- Fermat number
- A number of the form 22n + 1 for a nonnegative integer n. The first five are prime, but not all are.
- Finite field
- A finite arithmetic system with addition, subtraction, multiplication, and division by nonzero elements. Its size is always a prime power.
- Fundamental Theorem of Arithmetic
- Every integer greater than 1 is a product of primes in exactly one way, apart from the order of the factors.
- GIMPS
- The Great Internet Mersenne Prime Search: a distributed computing project founded in 1996 to find Mersenne primes.
- Goldbach conjecture
- The strong form says every even integer at least 4 is the sum of two primes. It is unproved; the related odd three-prime statement is a theorem.
- Greatest common divisor
- The largest positive integer dividing both inputs, often calculated efficiently with Euclid's algorithm.
- L-function
- An analytic object encoding arithmetic information, often through a series and Euler product. Zeta and Dirichlet L-functions are examples.
- Lucas-Lehmer test
- A deterministic test for Mersenne numbers with prime exponents. For odd prime p, iterate s → s² − 2 starting at 4, modulo 2p − 1; a zero after p − 2 iterations proves primality.
- Mersenne prime
- A prime of the form 2p − 1. Examples include 3, 7, 31, and 127. A prime exponent is necessary but not sufficient.
- Miller-Rabin
- A primality test using modular exponentiation. Failed rounds prove compositeness; passing random rounds generally establishes probable primality, not a proof.
- Modular arithmetic
- Arithmetic with remainders. Writing a ≡ b (mod m) means a and b have the same remainder when divided by m.
- Multiplicative inverse
- A value b with ab ≡ 1 (mod m). It exists exactly when gcd(a, m) = 1.
- p-adic number
- A number in a completion based on divisibility by powers of a fixed prime p, rather than ordinary real absolute distance.
- Perfect number
- A positive integer equal to the sum of its positive proper divisors. Every even perfect number corresponds to a Mersenne prime.
- Prime
- A positive integer greater than 1 with exactly two positive divisors: 1 and itself.
- Prime gap
- The difference between consecutive primes. A gap of g has g − 1 integers strictly between its endpoints.
- Prime Number Theorem
- The number of primes at most x is asymptotic to x / ln(x): the ratio approaches 1 as x grows without bound.
- Probable prime
- An integer passing a specified test that every prime in the test's domain passes, but that some composites can also pass.
- Pseudoprime
- A composite that passes a particular probable-prime test. Always specify the test or base; being an impostor in one test does not mean passing them all.
- Riemann Hypothesis
- The unproved statement that every nontrivial zero of the Riemann zeta function has real part 1/2.
- Safe prime
- A prime q for which (q − 1)/2 is also prime. Not the same as a guarantee that any use of q is cryptographically safe.
- Sieve of Eratosthenes
- An algorithm that lists primes up to a limit by crossing out multiples of primes starting from their squares.
- Sophie Germain prime
- A prime p for which 2p + 1 is also prime.
- Totient
- Euler's φ(n), the count of integers from 1 through n coprime to n. If p is prime, φ(p) = p − 1.
- Twin primes
- Two primes differing by exactly 2, such as 17 and 19. Whether there are infinitely many pairs is still unknown.
- Ulam spiral
- An arrangement of integers on an outward square spiral, often with primes highlighted to expose visual patterns.
- Unit
- In the positive integers, 1. It is the multiplicative identity and is neither prime nor composite.
- Zeta function
- For real s > 1, ζ(s) = ∑ n−s. Its extension to complex inputs and its zeros reveal deep information about the distribution of primes.