Euclid's theorem is a fundamental statement in number theory that asserts that there are infinitely many prime numbers. It was first proven by Euclid in his work Elements. There are at least 200 proofs of the theorem.
Euclid's proof Euclid offered a proof in his work Elements (Book IX, Proposition 20), which is paraphrased here. Consider any finite list of prime numbers p1, p2, ..., pn. It will be shown that there exists at least one additional prime number not included in this list. Let P be the product of all the prime numbers in the list: P = p1p2⋅⋅⋅pn. Let q = P + 1. Since q is either prime or not:
If q is prime, then there is at least one more prime that is not in the list, namely, q itself. If q is not prime, then some prime factor p divides q. If this factor p were in our list, then it would also divide P (since P is the product of every number in the list). If p divides P and q, then p must also divide the difference of the two numbers, which is (P + 1) − P or just 1. Since no prime number divides 1, p cannot be in the list. This means that at least one more prime number exists that is not in the list. This proves that for every finite list of prime numbers there is a prime number not in the list. In the original work, Euclid denoted the arbitrary finite set of prime numbers as A, B, Γ. Euclid is often erroneously reported to have proved this result by contradiction beginning with the assumption that the finite set initially considered contains all prime numbers, though it is actually a proof by cases, a direct proof method. The philosopher Torkel Franzén, in a book on logic, states, "Euclid's proof that there are infinitely many primes is not an indirect proof [...] The argument is sometimes formulated as an indirect proof by replacing it with the assumption 'Suppose q1, ..., qn are all the primes'. However, since this assumption isn't even used in the proof, the reformulation is pointless."
Variations Several variations on Euclid's proof exist, including the following: Let n>1 be a positive integer. Let N=n!+1, with n!=1⋅2⋯n. By the fundamental theorem of arithmetic, N has some prime divisor p. On the other hand, the integers 2,…,n are not divisors of N (it gives a remainder of 1 when divided by each). Hence p>n. Therefore, for every positive integer there exists a prime number greater than it. The conclusion is that the number of primes is infinite.
Euler's proof Another proof, by the Swiss mathematician Leonhard Euler, relies on the fundamental theorem of arithmetic: that every integer has a unique prime factorization. What Euler wrote (not with this modern notation and, unlike modern standards, not restricting the arguments in sums and products to any finite sets of integers) is equivalent to the statement that ∏p∈Pk11−1p=∑n∈Nk1n, where Pk denotes the set of the k first prime numbers, and Nk is the set of the positive integers whose prime factors are all in Pk. To show this, one expands each factor in the product as a geometric series, and distributes the product over the sum (this is a special case of the Euler product formula for the Riemann zeta function). ∏p∈Pk11−1p=∏p∈Pk∑i≥01pi=(∑i≥012i)⋅(∑i≥013i)⋅(∑i≥015i)⋅(∑i≥017i)⋯=∑ℓ,m,n,p,…≥012ℓ3m5n7p⋯=∑n∈Nk1n. In the penultimate sum, every product of primes appears exactly once, so the last equality is true by the fundamental theorem of arithmetic. In his first corollary to this result Euler denotes by a symbol similar to ∞ the "absolute infinity" and writes that the infinite sum in the statement equals the "value" log∞, to which the infinite product is thus also equal (in modern terminology this is equivalent to saying that the partial sum up to x of the harmonic series diverges asymptotically like logx). Then in his second corollary, Euler notes that the product ∏n≥211−1n2 converges to the finite value 2, and there are consequently more primes than squares. This proves Euclid's theorem.
In the same paper (Theorem 19) Euler in fact used the above equality to prove a much stronger theorem that was unknown before him, namely that the series ∑p∈P1p is divergent, where P denotes the set of all prime numbers (Euler writes that the infinite sum equals loglog∞, which in modern terminology is equivalent to saying that the partial sum up to x of this series behaves asymptotically like loglogx).
Erdős's proof Paul Erdős gave a proof that also relies on the fundamental theorem of arithmetic. Every positive integer has a unique factorization into a square-free number r and a square number s2. For example, 75,600 = 24 33 52 71 = 21 ⋅ 602. Let N be a positive integer, and let k be the number of primes less than or equal to N. Call those primes p1, ... , pk. Any positive integer a which is less than or equal to N can then be written in the form a=(p1e1p2e2⋯pkek)s2, where each ei is either 0 or 1. There are 2k ways of forming the square-free part of a. And s2 can be at most N, so s ≤ √N. Thus, at most 2k √N numbers can be written in this form. In other words, N≤2kN. Or, rearranging, k, the number of primes less than or equal to N, is greater than or equal to 1/2log2 N. Since N was arbitrary, k can be as large as desired by choosing N appropriately.
Furstenberg's proof
In the 1950s, Hillel Furstenberg introduced a proof by contradiction using point-set topology. Define a topology on the integers ℤ, called the evenly spaced integer topology, by declaring a subset U⊆ℤ to be an open set if and only if it is either the empty set, ∅︀, or it is a union of arithmetic sequences S(a,b) (for a≠0), where S(a,b)={an+b∣n∈ℤ}=aℤ+b. Then a contradiction follows from the property that a finite set of integers cannot be open and the property that the basis sets S(a,b) are both open and closed, since ℤ∖{−1,+1}=⋃p primeS(p,0) cannot be closed because its complement is finite, but is closed since it is a finite union of closed sets.
Recent proofs
… excerpt ends here. Continue reading the full article.
