Math 2.0

Number theory Proof

Erdős's proof of the divergence of the sum of the reciprocals of the primes

Builds on Prime numberEuclid's theoremCompleteness axiomApproximation property of the supremumEvery integer is a square times a square-free integerSquare-free integerExistence of prime factorizationDivisibility

Proof

We argue by contradiction and count the integers up to xx in two ways.

  1. By Euclid's theorem, there are infinitely many prime numbers. List them in increasing order as p1<p2<p3<⋯p_1 < p_2 < p_3 < \cdots.
  2. For j≥1j \ge 1, put sj=∑i=1j1/pis_j = \sum_{i=1}^{j} 1/p_i. Every partial sum ∑p≤x1/p\sum_{p \le x} 1/p equals some sjs_j or 00, and every sjs_j is such a partial sum.
  3. Suppose the partial sums are bounded. Then the set {sj:j≥1}\set{s_j : j \ge 1} is bounded above. By the completeness axiom, it has a supremum LL.
  4. By the approximation property of the supremum, there is an index kk with sk>L−1/2s_k > L - 1/2.
  5. For every j>kj > k, we get ∑i=k+1j1/pi=sj−sk<L−(L−1/2)=1/2\sum_{i=k+1}^{j} 1/p_i = s_j - s_k < L - (L - 1/2) = 1/2, because sj≤Ls_j \le L.
  6. Put x=22k+2x = 2^{2k+2}. Let MM be the set of integers nn with 1≤n≤x1 \le n \le x such that no prime pip_i with i>ki > k divides nn.
  7. Upper estimate. Let n∈Mn \in M. By the square times square-free decomposition, n=m2rn = m^2 r with positive integers mm, rr and rr square-free.
  8. Every prime that divides rr divides nn, so it is one of p1,…,pkp_1, \dots, p_k.
  9. By the existence of prime factorization, rr is a product of primes. No prime occurs twice, since then its square would divide rr.
  10. So rr is the product of a subset of {p1,…,pk}\set{p_1, \dots, p_k}. There are 2k2^k subsets, so rr takes at most 2k2^k values.
  11. Also m2≤n≤xm^2 \le n \le x, so m≤x=2k+1m \le \sqrt{x} = 2^{k+1}. So mm takes at most 2k+12^{k+1} values.
  12. The pair (m,r)(m, r) determines nn. Hence ∣M∣≤2k⋅2k+1=22k+1=x/2|M| \le 2^k \cdot 2^{k+1} = 2^{2k+1} = x/2.
  13. Lower estimate. Let 1≤n≤x1 \le n \le x with n∉Mn \notin M. Then some pip_i with i>ki > k divides nn, and pi≤n≤xp_i \le n \le x.
  14. Let JJ be the largest index with pJ≤xp_J \le x. If J≤kJ \le k, no such nn exists, and ∣M∣=x>x/2|M| = x > x/2.
  15. If J>kJ > k, each such nn is a multiple of some pip_i with k<i≤Jk < i \le J. The number of multiples of pip_i in {1,…,x}\set{1, \dots, x} is at most x/pix / p_i.
  16. So x−∣M∣≤∑i=k+1Jx/pi=x∑i=k+1J1/pi<x/2x - |M| \le \sum_{i=k+1}^{J} x / p_i = x \sum_{i=k+1}^{J} 1/p_i < x/2 by step 5. Hence ∣M∣>x/2|M| > x/2.
  17. Steps 12, 14 and 16 give x/2<∣M∣≤x/2x/2 < |M| \le x/2, which is a contradiction.
  18. So the partial sums ∑p≤x1/p\sum_{p \le x} 1/p are not bounded, and the series ∑p1/p\sum_p 1/p diverges.

Idea

If the series converged, the primes beyond some pkp_k would have reciprocal sum below 1/21/2. Then fewer than half of the numbers up to xx could have a large prime factor. But numbers built only from p1,…,pkp_1, \dots, p_k are rare: writing them as a square times a square-free part shows there are at most 2kx2^k \sqrt{x} of them. For x=4k+1x = 4^{k+1} the two counts cannot both hold.

Reading path

To understand this page from the ground up, read these 61 pages in order. The foundations come first. The path takes the proofs Proof of the approximation property of the supremum, Proof of the commutativity of addition by induction, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof that every positive integer is a square times a square-free integer, Proof of strong induction from ordinary induction, Proof of the existence of prime factorization, Proof of the well-ordering principle from strong induction, Proof of Euclid's theorem using n! + 1, Proof of the existence of a prime divisor.

  1. Construction of the reals from Cauchy sequences concept
  2. Definition by recursion concept
  3. Divisibility definition
  4. Element definition
  5. Integers object
  6. Mathematical induction concept
  7. Natural numbers object
  8. Ordered field definition
  9. Peano axioms concept
  10. Proposition concept
  11. Rational numbers object
  12. Real numbers object
  13. Set bounded above definition
  14. Prime number definition
  15. Set definition
  16. Ring of integers statement
  17. Successor function definition
  18. Implication definition
  19. Predicate definition
  20. The reals form a field statement
  21. Supremum definition
  22. Prime factorization definition
  23. Ordered pair definition
  24. Square-free integer definition
  25. Addition of natural numbers definition
  26. Universal quantifier definition
  27. The successor function is injective statement
  28. Zero is not a successor statement
  29. The rationals form a field statement
  30. Completeness axiom statement
  31. Cartesian product definition
  32. Proof that every positive integer is a square times a square-free integer proof
  33. Subset definition
  34. Proof of the commutativity of addition by induction proof
  35. Order on the natural numbers definition
  36. The rationals form an ordered field statement
  37. Binary relation definition
  38. Every integer is a square times a square-free integer statement
  39. Order on the reals definition
  40. Commutativity of addition statement
  41. Proof of strong induction from ordinary induction proof
  42. Antisymmetric relation definition
  43. Reflexive relation definition
  44. Transitive relation definition
  45. Strong induction statement
  46. Preorder definition
  47. Proof of the well-ordering principle from strong induction proof
  48. Partial order definition
  49. Well-ordering principle statement
  50. Total order definition
  51. Proof of the existence of a prime divisor proof
  52. Existence of a prime divisor statement
  53. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  54. Proof of Euclid's theorem using n! + 1 proof
  55. Proof of the existence of prime factorization proof
  56. The reals form an ordered field statement
  57. Euclid's theorem statement
  58. Existence of prime factorization statement
  59. Proof of the approximation property of the supremum proof
  60. Approximation property of the supremum statement
  61. Erdős's proof of the divergence of the sum of the reciprocals of the primes proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Divergence_of_the_sum_of_the_reciprocals_of_the_primes, Erdős's proof by upper and lower estimates
About this page
Tag8W8P5BK6XH
URIm2://8W8P5BK6XH
Kindproof
WritingW0 stub
MSC11N05
ProvesDivergence of the sum of the reciprocals of the primes
UsesPrime number, Euclid's theorem, Completeness axiom, Approximation property of the supremum, Every integer is a square times a square-free integer, Square-free integer, Existence of prime factorization, Divisibility
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.