The Bernoulli numbers are a sequence of rational numbers defined by the coefficients in the expansion of . First studied in connection with sums of integer powers, they occur throughout number theory, analysis, and numerical analysis. They provide exact formulas for finite sums, correction terms for approximating sums by integrals, and expressions for special values of the Riemann zeta function. Two conventions differ in the sign assigned to ; this article uses .
Definition and initial values
The defining exponential generating function is
Here is the exponential function, and denotes the factorial. The apparent singularity at is removable, with limiting value . As an analytic expansion, the series converges for ; it can also be interpreted purely algebraically as a formal power series.
The first values are:
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 12 |
All odd-indexed Bernoulli numbers after vanish:
The nonzero even-indexed numbers alternate in sign:
Sign conventions
An alternative convention uses , generated by
The two sequences agree at every index except . This difference matters in formulas for sums of powers and values of the zeta function. Older works may also list only the nonzero even-indexed numbers, sometimes with their signs removed, so their indexing must be checked before comparing formulas.
Recurrence and elementary properties
Multiplying the defining series by and comparing coefficients gives the recurrence relation
where is a binomial coefficient. Equivalently,
This determines every Bernoulli number using exact rational arithmetic. For example,
yielding and .
The vanishing of the higher odd terms follows from the identity
The right-hand side is unchanged when is replaced by , so its expansion contains only even powers.
Bernoulli polynomials and sums of powers
The Bernoulli polynomials extend the sequence by introducing a variable :
They satisfy , and their explicit polynomial form is
Two fundamental identities are
and
The second identity makes Bernoulli polynomials discrete analogues of antiderivatives of powers. Summing it over consecutive integers causes the left-hand side to telescope, giving, for and positive integer ,
Expanding the polynomial yields a standard form of Faulhaber's formula:
For example,
Thus Bernoulli numbers organize the coefficients of all power-sum polynomials into a single sequence.
Euler–Maclaurin summation
The Euler–Maclaurin formula relates a discrete sum to an integral, with Bernoulli numbers supplying endpoint corrections. For integers and a sufficiently smooth function ,
The term is a remainder involving a higher derivative of and a periodic Bernoulli polynomial. Its size determines the accuracy of the truncated expression.
This formula explains why the same rational constants recur in summation problems, numerical integration, and asymptotic estimates. Applied to logarithms, it produces correction terms in Stirling's expansion:
The symbol denotes an asymptotic expansion, not an assertion that the infinite series converges. For fixed , these correction terms eventually grow; useful approximations generally require truncation.
Riemann zeta function and growth
Bernoulli numbers are closely related to the Riemann zeta function. For every positive integer ,
For instance, and give
At negative integers, values obtained by analytic continuation satisfy
Consequently,
The vanishing of corresponds to the trivial zeros . These analytically continued values are not ordinary sums of the divergent series obtained by substituting negative integers into the original Dirichlet series.
The positive-even-value identity also gives
Since ,
This factorial-scale growth helps explain the eventual divergence of many asymptotic expansions containing Bernoulli numbers.
Denominators and arithmetic structure
Although their numerators can become large, the denominators of the even-indexed Bernoulli numbers have a precise description. The von Staudt–Clausen theorem states that
is an integer. Therefore, the denominator of , when written in lowest terms, is
The product ranges over prime numbers whose predecessors divide , and every prime occurs only once. For example, for precisely , giving the denominator
of .
Numerators encode subtler information. An odd prime is called an irregular prime if it divides the numerator, in lowest terms, of at least one of
Primes not satisfying this condition are called regular. This distinction arose in Ernst Kummer's work on Fermat's Last Theorem: he proved the theorem for regular prime exponents. Bernoulli-number congruences remain important in algebraic number theory.
Computation and numerical issues
The defining recurrence provides a straightforward method for computing a finite table. Its direct implementation requires quadratically many rational-arithmetic operations in the largest index, while the cost of individual operations increases as the numerators and denominators grow.
For large computations, methods may exploit:
- the vanishing of odd-indexed terms;
- the exact denominator formula;
- computations in modular arithmetic, followed by reconstruction using the Chinese remainder theorem;
- high-precision evaluation of the even zeta-value formula.
Exact arithmetic is important when numerators or divisibility properties are required. Direct use of the recurrence in floating-point arithmetic can suffer from cancellation, while the rapid growth of the values creates additional precision and range requirements.
Historical development
Bernoulli numbers are named after Jakob Bernoulli, whose Ars Conjectandi, published posthumously in 1713, presented them in connection with sums of powers. Related coefficients appeared independently in Seki Takakazu's Katsuyō Sanpō, published posthumously in 1712.
Leonhard Euler established their connection with the zeta function and developed many of their analytic applications. The nineteenth century brought the von Staudt–Clausen denominator theorem and Kummer's investigations of congruences and regular primes, extending their importance from summation formulas to arithmetic.