The Euler Product

Multiplying ζ(s)=∑n≥1n−s\zeta(s) = \sum_{n\ge 1} n^{-s} by (1−2−s)(1-2^{-s}) sieves out the even terms, then (1−3−s)(1-3^{-s}) removes multiples of 3 — sieving leaves only the product over primes ∏p(1−p−s)−1\prod_p (1-p^{-s})^{-1}. Watch the partial product over the first kk primes approach ζ(2)=π2/6\zeta(2) = \pi^2/6.

ζ(s)=∑n=1∞1ns=∏p prime11−p−s(s>1)\zeta(s) = \sum_{n=1}^{\infty}\frac{1}{n^s} = \prod_{p\ \mathrm{prime}}\frac{1}{1-p^{-s}} \qquad (s > 1)
∏p11−p−2=π26\prod_p\frac{1}{1-p^{-2}} = \frac{\pi^2}{6}

Examples & Exercises

Prove the Euler product ζ(s)=∏p prime11−p−s\zeta(s) = \prod_{p\ \text{prime}} \frac{1}{1 - p^{-s}} for s>1s > 1 by a sieve argument. Hint: ζ(s)(1−2−s)\zeta(s)(1 - 2^{-s}) removes all even terms.

ζ(s)(1−2−s)=∑n≥11ns−∑n≥11(2n)s=∑2∤n1ns\zeta(s)(1 - 2^{-s}) = \sum_{n \ge 1} \frac{1}{n^s} - \sum_{n \ge 1} \frac{1}{(2n)^s} = \sum_{2 \nmid n} \frac{1}{n^s}
ζ(s)∏i=1k(1−pi−s)=1+∑n>1(n,Pk)=11ns,Pk:=∏i=1kpi\zeta(s)\prod_{i=1}^{k}(1 - p_i^{-s}) = 1 + \sum_{\substack{n > 1 \\ (n, P_k) = 1}} \frac{1}{n^s}, \qquad P_k := \prod_{i=1}^{k} p_i
k=6k = 6 (sieved through prime 1313): P6≈1.6179177P_6 \approx 1.6179177, error ζ(2)−P6≈0.0270164\zeta(2) - P_6 \approx 0.0270164 — each extra sieve layer pushes the product closer to ζ(2)\zeta(2).
Show proof
  1. ζ(s)=∑n≥1n−s\zeta(s) = \sum_{n\ge 1} n^{-s} converges absolutely for s>1s > 1, so its terms may be freely rearranged and regrouped. Since 11−2−s=∑j≥02−js\frac{1}{1 - 2^{-s}} = \sum_{j\ge 0} 2^{-js} (a geometric series with ratio 2−s<12^{-s} < 1), multiplying gives ∑nn−s−∑n(2n)−s\sum_{n} n^{-s} - \sum_{n} (2n)^{-s}: every even term cancels, leaving only the odd terms: ζ(s)(1−2−s)=∑2∤nn−s\zeta(s)(1 - 2^{-s}) = \sum_{2\nmid n} n^{-s}.
  2. Do the same for the next prime 33: (1−3−s)∑2∤nn−s=∑2∤nn−s−∑2∤n(3n)−s(1 - 3^{-s})\sum_{2\nmid n} n^{-s} = \sum_{2\nmid n} n^{-s} - \sum_{2\nmid n} (3n)^{-s}, killing every multiple of 33. Repeating for p1=2,p2=3,…,pkp_1 = 2, p_2 = 3, \dots, p_k gives ζ(s)∏i=1k(1−pi−s)=1+∑n>1, (n,Pk)=1n−s\zeta(s)\prod_{i=1}^{k}(1 - p_i^{-s}) = 1 + \sum_{n > 1,\ (n,P_k)=1} n^{-s} (Pk=p1⋯pkP_k = p_1 \cdots p_k): only the terms whose nn shares no factor with the first kk primes survive.
  3. The leftover tail is squeezed to zero: 0≤∑n>1, (n,Pk)=1n−s≤∑n>pkn−s→k→∞00 \le \sum_{n > 1,\ (n,P_k)=1} n^{-s} \le \sum_{n > p_k} n^{-s} \xrightarrow[k\to\infty]{} 0, because any n>1n > 1 coprime to PkP_k has all prime factors ≥pk+1>pk\ge p_{k+1} > p_k, hence n≥pk+1>pkn \ge p_{k+1} > p_k. So ζ(s)∏i=1k(1−pi−s)→1\zeta(s)\prod_{i=1}^{k}(1 - p_i^{-s}) \to 1, and inverting gives ζ(s)=∏p11−p−s\zeta(s) = \prod_{p}\frac{1}{1 - p^{-s}} for s>1s > 1.
  4. Numerical check (s=2s = 2, k=6k = 6): P6=∏i=1611−pi−2≈1.6179177P_6 = \prod_{i=1}^{6}\frac{1}{1-p_i^{-2}} \approx 1.6179177 with error ζ(2)−P6≈1.6449341−1.6179177=0.0270164\zeta(2) - P_6 \approx 1.6449341 - 1.6179177 = 0.0270164, matching the caption — each sieve layer peels off one more layer of the tail sum.

Use the Basel result ζ(2)=π26\zeta(2) = \frac{\pi^2}{6} to show ∏p prime(1−1p2)−1=π26\prod_{p\ \text{prime}} \left(1 - \frac{1}{p^2}\right)^{-1} = \frac{\pi^2}{6}.

∏p(1−1p2)−1=ζ(2)=π26\prod_{p}\left(1 - \frac{1}{p^2}\right)^{-1} = \zeta(2) = \frac{\pi^2}{6}
P3=11−14⋅11−19⋅11−125=43⋅98⋅2524=2516=1.5625P_3 = \frac{1}{1 - \frac14}\cdot\frac{1}{1 - \frac19}\cdot\frac{1}{1 - \frac{1}{25}} = \frac{4}{3}\cdot\frac{9}{8}\cdot\frac{25}{24} = \frac{25}{16} = 1.5625
k=3k = 3 (primes 2,3,52, 3, 5): P3=2516=1.5625P_3 = \frac{25}{16} = 1.5625, error π26−P3≈0.0824341\frac{\pi^2}{6} - P_3 \approx 0.0824341 — still about 5%5\% short, but the increase is monotone.
Show proof
  1. Problem 1's Euler product holds for every s>1s > 1, so substituting s=2s = 2 gives ζ(2)=∏p11−p−2=∏p(1−1p2)−1\zeta(2) = \prod_{p}\frac{1}{1 - p^{-2}} = \prod_{p}\left(1 - \frac{1}{p^2}\right)^{-1} directly: the sum side and the product side point at the same limit.
  2. The Basel result (see the Basel scene) is ζ(2)=∑n≥11n2=π26\zeta(2) = \sum_{n\ge 1} \frac{1}{n^2} = \frac{\pi^2}{6}. Hence the product over primes ∏p(1−1p2)−1\prod_{p}\left(1 - \frac{1}{p^2}\right)^{-1} also converges to π26≈1.6449341\frac{\pi^2}{6} \approx 1.6449341.
  3. Each factor 11−p−2>1\frac{1}{1 - p^{-2}} > 1, so the partial products PkP_k increase monotonically and are bounded above by ζ(2)\zeta(2), hence converge. Inverted, ∏p(1−1p2)=6π2≈0.6079271\prod_{p}\left(1 - \frac{1}{p^2}\right) = \frac{6}{\pi^2} \approx 0.6079271 — also the probability that two random integers are coprime.
  4. Numerical check (k=3k = 3): with just the first three primes 2,3,52, 3, 5, P3=43⋅98⋅2524=2516=1.5625P_3 = \frac{4}{3}\cdot\frac{9}{8}\cdot\frac{25}{24} = \frac{25}{16} = 1.5625, and the error is π26−2516≈1.6449341−1.5625=0.0824341\frac{\pi^2}{6} - \frac{25}{16} \approx 1.6449341 - 1.5625 = 0.0824341, matching the caption.

Prove that the sum of prime reciprocals ∑p prime1p\sum_{p\ \text{prime}} \frac{1}{p} diverges, starting from the Euler product as s→1+s \to 1^+.

log⁡ζ(s)=∑p∑j≥11j pjs=∑p1ps+O(1)(s>1)\log \zeta(s) = \sum_{p}\sum_{j\ge 1} \frac{1}{j\,p^{js}} = \sum_{p} \frac{1}{p^s} + O(1) \qquad (s > 1)
ζ(s)≥∑n≤1/(s−1)1ns≥1s−1  ⇒  log⁡ζ(s)→+∞(s→1+)\zeta(s) \ge \sum_{n \le 1/(s-1)} \frac{1}{n^s} \ge \frac{1}{s - 1} \;\Rightarrow\; \log \zeta(s) \to +\infty \quad (s \to 1^+)
k=15k = 15 (through prime 4747): P15≈1.6385679631P_{15} \approx 1.6385679631, error ≈0.0063661\approx 0.0063661 — the product converges, but as s→1+s \to 1^+ the log of the same product diverges, dragging the prime-reciprocal sum up with it.
Show proof
  1. Taking logs of the Euler product for s>1s > 1 and using −log⁡(1−x)=∑j≥1xjj-\log(1 - x) = \sum_{j\ge 1} \frac{x^j}{j} (Taylor series, ∣x∣<1|x| < 1) gives log⁡ζ(s)=∑p∑j≥11j pjs\log \zeta(s) = \sum_{p}\sum_{j\ge 1} \frac{1}{j\,p^{js}}. Splitting off j=1j = 1 yields log⁡ζ(s)=∑p1ps+∑p∑j≥21j pjs\log \zeta(s) = \sum_{p} \frac{1}{p^s} + \sum_{p}\sum_{j\ge 2} \frac{1}{j\,p^{js}}.
  2. The j≥2j \ge 2 double sum is uniformly bounded for s≥1s \ge 1: ∑p∑j≥21j pjs≤∑p1p2∑j≥221−j=∑p1p2<∑n≥21n2=ζ(2)−1=π26−1≈0.6449341\sum_{p}\sum_{j\ge 2} \frac{1}{j\,p^{js}} \le \sum_{p} \frac{1}{p^2}\sum_{j\ge 2} 2^{1-j} = \sum_{p} \frac{1}{p^2} < \sum_{n\ge 2} \frac{1}{n^2} = \zeta(2) - 1 = \frac{\pi^2}{6} - 1 \approx 0.6449341, so that part is O(1)O(1). Hence log⁡ζ(s)=∑p1ps+O(1)\log \zeta(s) = \sum_{p} \frac{1}{p^s} + O(1) for s>1s > 1.
  3. Meanwhile ζ(s)≥∫1∞x−s dx=1s−1\zeta(s) \ge \int_1^{\infty} x^{-s}\,dx = \frac{1}{s-1} — just sum n−s≥∫nn+1x−s dxn^{-s} \ge \int_n^{n+1} x^{-s}\,dx over nn. Hence log⁡ζ(s)≥−log⁡(s−1)→+∞\log \zeta(s) \ge -\log(s - 1) \to +\infty as s→1+s \to 1^+.
  4. Since log⁡ζ(s)=∑pp−s+O(1)→+∞\log \zeta(s) = \sum_{p} p^{-s} + O(1) \to +\infty, we get ∑pp−s→+∞\sum_{p} p^{-s} \to +\infty as s→1+s \to 1^+. If ∑p1p\sum_{p} \frac{1}{p} converged at s=1s = 1, the monotone convergence theorem would force ∑pp−s\sum_{p} p^{-s} to approach that sum as s→1+s \to 1^+ — a contradiction. Therefore ∑p1p=+∞\sum_{p} \frac{1}{p} = +\infty: the sum of prime reciprocals diverges.
  5. Numerical feel: at s=2s = 2, P15≈1.6385679631P_{15} \approx 1.6385679631 sits almost on ζ(2)≈1.6449341\zeta(2) \approx 1.6449341 (error ≈0.0063661\approx 0.0063661, matching the caption), but as ss slides toward 11, log⁡ζ(s)\log \zeta(s) blows up to infinity, and with the O(1)O(1) part accounted for, only ∑pp−s\sum_p p^{-s} can supply that infinity.

6. Series