Infinitude of Primes — Definition, Formula & Example
The infinitude of primes is the fact that the list of prime numbers never ends. No matter how large a prime you find, there is always a bigger one.
Euclid's Theorem: for every finite set of primes , there exists a prime with . Equivalently, the set of primes is infinite. Because , it is countably infinite, with cardinality .
Key Formula
Where:
- = Any finite list of distinct primes
- = The constructed number. Every prime factor of N is missing from the list.
How It Works
The classic proof is by contradiction. Suppose were all the primes, and form . Dividing by any leaves remainder 1, so no listed prime divides . Since , it has at least one prime factor. That prime cannot be on the list, so the list was incomplete.
Worked Example
Problem: Suppose someone claims the only primes are 2, 5, and 11. Use Euclid's construction to find a prime missing from this list.
Step 1: Multiply the listed primes together and add 1.
Step 2: Divide 111 by each listed prime. It leaves remainder 1 every time, so none of 2, 5, or 11 divides 111.
Step 3: Factor 111 into primes. Both factors are prime, and neither one is on the original list.
Answer: The primes 3 and 37 are both missing from the list {2, 5, 11}, so the claim is false.
Why It Matters
RSA encryption, which protects online payments, needs very large primes. This theorem guarantees that primes exist beyond any size you choose. The proof is also a classic first example of proof by contradiction in college discrete math and introduction-to-proof courses.
Common Mistakes
Mistake: Thinking the new prime from the construction must be larger than every prime on the list.
Correction: The proof only guarantees a prime that is not on the list. In the example above, the list {2, 5, 11} produces 3, which is smaller than both 5 and 11.
