Each factor is a geometric series: (1−p−s)−1=1+p−s+p−2s+⋯. Multiplying these series for all primes and expanding gives every integer exactly once, as a product of prime powers, by the uniqueness of prime factorisation. So the product equals ∑n−s. The sum converges for s>1, as in the p-series test.
For s=2, ζ(2)=6π2=1.6449; the first four primes already give 34⋅89⋅2425⋅4849=1.5951. For s=4, ζ(4)=90π4=1.0823, and three primes give 1516⋅8081⋅624625=1.0817. The reciprocal is ζ(2)1=π26=∏(1−p−2)=0.6079.
At s=1 the sum is the harmonic series, which diverges, and the product then shows that there are infinitely many primes, a link to proof by contradiction and the prime number theorem. The zeta function extends to complex s and its zeros are the subject of the Riemann hypothesis; a functional equation comes from the Poisson summation formula.
What is it used for?
The Euler product expresses a sum over all integers as a product over the primes, linking analysis to number theory.
Studying the distribution of primes.
Evaluating sums such as 1/n².
The Riemann hypothesis.
How to use riemann zeta: euler product
Choose s>1.
For each prime p compute (1−p−s)−1.
Multiply the factors for as many primes as needed.
Compare with the sum ∑n−s or the known value.
Graph
Each extra prime moves the product closer to the exact value π²/6.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: four primes for ζ(2)
Estimate ζ(2) using the primes 2, 3, 5, 7.
Worked example
Answer
≈1.5951(ζ(2)=1.6449)
Factors
34,89,2425,4849
Product
1.5951
Example 2: three primes for ζ(4)
Estimate ζ(4) using the primes 2, 3, 5.
Worked example
Answer
≈1.0817(ζ(4)=1.0823)
Factors
1516,8081,624625
Product
1.0817
Example 3: the exact value
Evaluate ζ(2) exactly and as a decimal.
Worked example
Answer
1.6449
Known result
ζ(2)=6π2
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
ζ(2)
π²/6
1.6449.
ζ(4)
π⁴/90
1.0823.
Factor p = 2, s = 2
1/(1 − 1/4)
1.3333.
Primes 2 and 3, s = 2
1.3333 × 1.125
1.5.
Word problems
For s > 1, ζ(s) = Σn⁻ˢ = Π(1 − p⁻ˢ)⁻¹ over primes. Each prime contributes a geometric series.