MathorynMathematical Formula Database

Sequences & Series

Basel Problem (Sum of 1/n²)

Euler showed in 1734 that the sum of the reciprocals of the squares equals π2/6\pi^2/6. The result connects number theory with geometry, is the value ζ(2)\zeta(2) of the Riemann zeta function and is used as a standard example of a convergent series.

∑n=1∞1n2=π26\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}
LaTeX\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}

Variables

nn
positive integer index
π\pi
pi ≈ 3.14159

Example

Compare π2/6\pi^2/6 with the partial sum of 1000010000 terms.

  1. π26≈1.644934\frac{\pi^2}{6}\approx1.644934.
  2. ∑n=1100001n2≈1.644834\sum_{n=1}^{10000}\frac1{n^2}\approx1.644834 (the tail is about 110000\frac{1}{10000}).

Answer: π26≈1.644934\frac{\pi^2}{6}\approx1.644934.

Related formulas