Skip to content

infinite series ​

Also known as: Dirichlet series.

A limit of partial sums formed by adding infinitely many terms; in number theory, weighting terms by n⁻ˢ produces a Dirichlet series that turns integer arithmetic into a smooth function.

Diagram illustrating infinite series
Diagram illustrating infinite series.

Level 1 — First-Principles ​

Given a sequence of numbers a1,a2,a3,…, form the running totals SN=a1+a2+⋯+aN. If those running totals settle closer and closer to a single finite value S as N grows without bound, the infinite series ∑n=1∞an converges to S. For example, 12+14+18+… converges to 1, whereas the harmonic sum 1+12+13+… grows past every bound and diverges.

Number theory uses a structured family of infinite sums called Dirichlet series, written ∑n=1∞ann−s, where an carries arithmetic information and s is a variable drawn from the two-dimensional number plane whose points combine a horizontal real coordinate and a vertical imaginary coordinatecomplex plane. Setting an=1 for every n produces the classic sum ∑n=1∞n−s linked directly to prime factorizationRiemann zeta function whenever the horizontal coordinate of s exceeds 1. Whenever an respects multiplication (amn=aman), the series splits into a product over whole numbers greater than 1 with no smaller factorsprime number. To inspect values of s where the raw sum blows up, mathematicians extend the function beyond the convergence boundary by uniquely extending a smooth complex function past the region where its original formula convergesanalytic continuation.

Limits of the intuition ​

Thinking of an infinite series as ordinary addition with many terms is safe only when the sum of absolute values ∑|an| is finite (absolute convergence). Without absolute convergence, rearranging terms can change the limit or destroy convergence altogether, and once the input s crosses the convergence boundary (such as Re(s)≤1 for ∑n−s), the series ceases to converge at all—so statements about zeros at Re(s)=1/2 refer to the extended function, never to the raw divergent sum.

Level 2 — Undergrad Bridge ​

For a sequence f:N→C, the associated Dirichlet series is

L(f,s)=∑n=1∞f(n)ns,n−s=exp⁡(−sln⁡n).

Because |n−s|=n−Re(s), the region of convergence is a half-plane rather than a disk: there exist abscissas of convergence σc≤σa such that the series converges for Re(s)>σc, diverges for Re(s)<σc, and converges absolutely for Re(s)>σa, with σa−σc≤1. On every compact subset of {Re(s)>σc}, convergence is uniform, so L(f,s) is holomorphic there and can be differentiated term by term.

Two Dirichlet series ∑f(n)n−s and ∑g(n)n−s multiply via Dirichlet convolution:

(∑n=1∞f(n)ns)(∑n=1∞g(n)ns)=∑n=1∞(f∗g)(n)ns,(f∗g)(n)=∑d∣nf(d)g(n/d).

For completely multiplicative coefficients (f(mn)=f(m)f(n) and f(1)=1) with |f(n)|≤1, absolute convergence holds for Re(s)>1 and the series factors into an Euler product ∏p(1−f(p)p−s)−1. No factor in this product vanishes for Re(s)>1, which immediately guarantees that L(f,s) has no zeros in the half-plane Re(s)>1.

Level 3 — Formal Lean Contract ​

In Mathlib4 (Mathlib.NumberTheory.LSeries.Basic), LSeries f s is defined as the unconditional sum ∑' n, LSeries.term f s n, where LSeries.term f s 0 = 0 and LSeries.term f s n = f n / n ^ s for n ≠ 0. In Lean, tsum (∑') returns 0 whenever a series does not converge, so LSeries alone cannot define ζ(s) or L(χ,s) inside the strip 0<Re(s)<1. Consequently, the Stage 00 contracts in src/Statements.lean state all zero-location claims using the analytically continued functions riemannZeta and DirichletCharacter.LFunction, which agree with LSeries on {s : ℂ | 1 < s.re} and extend meromorphically to all of ℂ. See the page's live verification banner (audit/verification-status.json) for the currently pinned upstream snapshot and local Lean build status (build_status: unverified-locally).

Where this analogy breaks ​

Treating an infinite series as an ordinary long addition breaks down whenever terms fail to shrink fast enough: reordering terms can change a conditionally convergent sum, and outside its half-plane of convergence the series expression diverges even when the underlying function still makes sense.

  • prime number — A whole number greater than 1 whose only positive whole-number divisors are 1 and itself; every integer above 1 factors uniquely into a product of them.
  • complex plane — The two-dimensional coordinate plane of numbers s = σ + it, where the horizontal coordinate σ = Re(s) sets decay rate and the vertical coordinate t = Im(s) sets oscillation frequency.
  • Riemann zeta function — The meromorphic function ζ(s) extending ∑ n⁻ˢ to all of ℂ ∖ {1}, linking prime numbers via its Euler product to zeros in the complex plane.
  • analytic continuation — The unique extension of a complex-differentiable function from a smaller region to a larger domain, locked in place by the identity theorem.

Referenced By ​

Authoritative Sources ​

  • Introduction to Analytic Number Theory (book) — T. M. Apostol, Springer Undergraduate Texts in Mathematics (1976), Chapter 11: Dirichlet Series and Euler Products.
  • Principles of Mathematical Analysis (book) — W. Rudin, 3rd ed., McGraw-Hill (1976), Chapter 3: Numerical Sequences and Series.
  • Mathlib4: LSeries (mathlib) — Mathlib.NumberTheory.LSeries.Basic (pinned mathlib rev 31ce06eaadf4a200c0e1407c5f10953cf606b8f8).

Page Glossary ​

complex plane
The two-dimensional coordinate plane of numbers s = σ + it, where the horizontal coordinate σ = Re(s) sets decay rate and the vertical coordinate t = Im(s) sets oscillation frequency.
Riemann zeta function
The meromorphic function ζ(s) extending ∑ n⁻ˢ to all of ℂ ∖ {1}, linking prime numbers via its Euler product to zeros in the complex plane.
prime number
A whole number greater than 1 whose only positive whole-number divisors are 1 and itself; every integer above 1 factors uniquely into a product of them.
analytic continuation
The unique extension of a complex-differentiable function from a smaller region to a larger domain, locked in place by the identity theorem.