Bernoulli number

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
n  B_n
0  1
1  \pm\frac{1}{2}
2  \frac{1}{6}
3 0
4  -\frac{1}{30}
5 0
6  \frac{1}{42}
7 0
8  -\frac{1}{30}
9 0
10  \frac{5}{66}
11 0
12  -\frac{691}{2730}
13 0
14  \frac{7}{6}
15 0
16  -\frac{3617}{510}
17 0
18  \frac{43867}{798}
19 0
20  -\frac{174611}{330}

In mathematics, the Bernoulli numbers Bn are a sequence of rational numbers with deep connections to number theory. The values of the first few Bernoulli numbers are

B0 = 1, B1 = ±<templatestyles src="Sfrac/styles.css" />1/2, B2 = <templatestyles src="Sfrac/styles.css" />1/6, B3 = 0, B4 = −<templatestyles src="Sfrac/styles.css" />1/30, B5 = 0, B6 = <templatestyles src="Sfrac/styles.css" />1/42, B7 = 0, B8 = −<templatestyles src="Sfrac/styles.css" />1/30.

If the convention B1 = −<templatestyles src="Sfrac/styles.css" />1/2 is used, this sequence is also known as the first Bernoulli numbers (OEISA027641 / OEISA027642 in OEIS); with the convention B1 = +<templatestyles src="Sfrac/styles.css" />1/2 is known as the second Bernoulli numbers (OEISA164555 / OEISA027642). Except for this one difference, the first and second Bernoulli numbers agree. Since Bn = 0 for all odd n > 1, and many formulas only involve even-index Bernoulli numbers, some authors write Bn instead of B2n.

The Bernoulli numbers appear in the Taylor series expansions of the tangent and hyperbolic tangent functions, in formulas for the sum of powers of the first positive integers, in the Euler–Maclaurin formula, and in expressions for certain values of the Riemann zeta function.

The Bernoulli numbers were discovered around the same time by the Swiss mathematician Jakob Bernoulli, after whom they are named, and independently by Japanese mathematician Seki Kōwa. Seki's discovery was posthumously published in 1712[1][2] in his work Katsuyo Sampo; Bernoulli's, also posthumously, in his Ars Conjectandi of 1713. Ada Lovelace's note G on the analytical engine from 1842 describes an algorithm for generating Bernoulli numbers with Babbage's machine.[3] As a result, the Bernoulli numbers have the distinction of being the subject of the first published complex computer program.

Contents

Sum of powers

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Bernoulli numbers feature prominently in the closed form expression of the sum of the m-th powers of the first n positive integers. For m, n ≥ 0 define

 S_m(n) = \sum_{k=1}^n k^m = 1^m + 2^m + \cdots + n^m. \,

This expression can always be rewritten as a polynomial in n of degree m + 1. The coefficients of these polynomials are related to the Bernoulli numbers by Bernoulli's formula:

S_m(n) = {1\over{m+1}}\sum_{k=0}^m {m+1\choose{k}} B_k\; n^{m+1-k},

where the convention B1 = +1/2 is used. (\tbinom{m+1}{k} denotes the binomial coefficient, m+1 choose k.)

For example, taking m to be 1 gives the triangular numbers 0, 1, 3, 6, ... OEISA000217.

 1 + 2 + \cdots + n = \frac{1}{2}\left(B_0 n^2+2B_1 n^1\right) = \frac{1}{2}\left(n^2+n\right).

Taking m to be 2 gives the square pyramidal numbers 0, 1, 5, 14, ... OEISA000330.

 1^2 + 2^2 + \cdots + n^2 = \frac{1}{3}\left(B_0 n^3+3B_1 n^2+3B_2 n^1 \right) = \frac{1}{3}\left(n^3+\frac{3}{2}n^2+\frac{1}{2}n\right).

Some authors use the convention B1 = −1/2 and state Bernoulli's formula in this way:

S_m(n) = {1\over{m+1}}\sum_{k=0}^m (-1)^k {m+1\choose{k}} B_k\; n^{m+1-k}.

Bernoulli's formula is sometimes called Faulhaber's formula after Johann Faulhaber who also found remarkable ways to calculate sums of powers.

Faulhaber's formula was generalized by V. Guo and J. Zeng to a q-analog (Guo & Zeng 2005).

Definitions

Many characterizations of the Bernoulli numbers have been found in the last 300 years, and each could be used to introduce these numbers. Here only four of the most useful ones are mentioned:

  • a recursive equation,
  • an explicit formula,
  • a generating function,
  • an algorithmic description.

For the proof of the equivalence of the four approaches the reader is referred to mathematical expositions like (Ireland & Rosen 1990) or (Conway & Guy 1996).

Unfortunately in the literature the definition is given in two variants: Despite the fact that Bernoulli defined B1 = 1/2 (now known as "second Bernoulli numbers"), some authors set B1 = −1/2 ("first Bernoulli numbers"). In order to prevent potential confusions both variants will be described here, side by side. Because these two definitions can be transformed simply by B_n = (-1)^n B^\prime_n into the other, some formulae have this alternatingly (-1)n-term and others not depending on the context, but it is not possible to decide in favor of one of these definitions to be the correct or appropriate or natural one (for the abstract Bernoulli numbers).

Recursive definition

The recursive equation is best introduced in a slightly more general form

 \begin{align}
  B_m(n) &= n^m-\sum_{k=0}^{m-1}\binom mk\frac{B_k(n)}{m-k+1} \\
  B_0(n) &= 1.
\end{align}

This defines polynomials Bm in the variable n known as the Bernoulli polynomials. The recursion can also be viewed as defining rational numbers Bm(n) for all integers n ≥ 0, m ≥ 0. The expression 00 has to be interpreted as 1. The first and second Bernoulli numbers now follow by setting n = 0 (resulting in B1=−<templatestyles src="Sfrac/styles.css" />1/2, "first Bernoulli numbers") respectively n = 1 (resulting in B1=+<templatestyles src="Sfrac/styles.css" />1/2, "second Bernoulli numbers").

\begin{align}
  n = 0: B_m &= \left[ m = 0 \right] - \sum_{k=0}^{m-1}\binom mk\frac{B_k}{m-k+1} \\
  n = 1: B_m &= 1 - \sum_{k=0}^{m-1}\binom mk\frac{B_k}{m-k+1}
\end{align}

Here the expression [m = 0] has the value 1 if m = 0 and 0 otherwise (Iverson bracket). Whenever a confusion between the two kinds of definitions might arise it can be avoided by referring to the more general definition and by reintroducing the erased parameter: writing Bm(0) in the first case and Bm(1) in the second will unambiguously denote the value in question.

Explicit definition

Starting again with a slightly more general formula

B_m(n) = \sum_{k=0}^m\sum_{v=0}^k(-1)^v\binom kv\frac{\left( n+v\right) ^m}{k+1}

the choices n = 0 and n = 1 lead to

\begin{align}
  n = 0: B_m &= \sum_{k=0}^m\sum_{v=0}^k(-1)^v\binom kv\frac{v^m}{k+1} \\
  n = 1: B_m &= \sum_{k=0}^m\sum_{v=0}^k(-1)^v\binom kv\frac{(v+1)^m}{k+1}.
\end{align}

In 1893 Louis Saalschütz listed a total of 38 explicit formulas for the Bernoulli numbers (Saalschütz 1893), usually giving some reference in the older literature.

Generating function

The general formula for the generating function is

 \frac{te^{nt}}{e^t-1}=\sum_{m=0}^\infty B_m(n)\frac{t^m}{m!} \ .

The choices n = 0 and n = 1 lead to

\begin{align}
  n = 0: \frac t{e^t-1}    &= \sum_{m=0}^\infty B_m\frac{t^m}{m!}\\
  n = 1: \frac t{1-e^{-t}} &= \sum_{m=0}^\infty B_m\frac{(-t)^m}{m!}.
\end{align}

Algorithmic description

Although the above recursive formula can be used for computation it is mainly used to establish the connection with the sum of powers because it is computationally expensive. However, both simple and high-end algorithms for computing Bernoulli numbers exist. Pointers to high-end algorithms are given the next section. A simple one is given in pseudocode below.

Algorithm Akiyama–Tanigawa algorithm for second Bernoulli numbers Bn
  Input: Integer n≥0.
  Output: Second Bernoulli number Bn.
  for m from 0 by 1 to n do
    A[m] ← 1/(m+1)
    for j from m by -1 to 1 do
      A[j-1] ← j×(A[j-1] - A[j])
  return A[0] (which is Bn)
  • "←" is a shorthand for "changes to". For instance, "largestitem" means that the value of largest changes to the value of item.
  • "return" terminates the algorithm and outputs the value that follows.

Efficient computation of Bernoulli numbers

In some applications it is useful to be able to compute the Bernoulli numbers B0 through Bp − 3 modulo p, where p is a prime; for example to test whether Vandiver's conjecture holds for p, or even just to determine whether p is an irregular prime. It is not feasible to carry out such a computation using the above recursive formulae, since at least (a constant multiple of) p2 arithmetic operations would be required. Fortunately, faster methods have been developed (Buhler et al. 2001) which require only O(p (log p)2) operations (see big-O notation).

David Harvey (Harvey 2008) describes an algorithm for computing Bernoulli numbers by computing Bn modulo p for many small primes p, and then reconstructing Bn via the Chinese Remainder Theorem. Harvey writes that the asymptotic time complexity of this algorithm is O(n2 log(n)2+ε) and claims that this implementation is significantly faster than implementations based on other methods. Using this implementation Harvey computed Bn for n = 108. Harvey's implementation is included in Sage since version 3.1. Prior to that Bernd Kellner (Kellner 2002) computed Bn to full precision for n = 106 in December 2002 and Oleksandr Pavlyk (Pavlyk 2008) for n = 107 with Mathematica in April 2008.

Computer Year n Digits*
J. Bernoulli ~1689 10 1
L. Euler 1748 30 8
J. C. Adams 1878 62 36
D. E. Knuth, T. J. Buckholtz 1967 1672 3330
G. Fee, S. Plouffe 1996 10000 27677
G. Fee, S. Plouffe 1996 100000 376755
B. C. Kellner 2002 1000000 4767529
O. Pavlyk 2008 10000000 57675260
D. Harvey 2008 100000000 676752569
  • Digits is to be understood as the exponent of 10 when B(n) is written as a real in normalized scientific notation.

Different viewpoints and conventions

The Bernoulli numbers can be regarded from four main viewpoints:

  • as standalone arithmetical objects,
  • as combinatorial objects,
  • as values of a sequence of certain polynomials,
  • as values of the Riemann zeta function.

Each of these viewpoints leads to a set of more or less different conventions.

Bernoulli numbers as standalone arithmetical objects.

Associated sequence: 1/6, −1/30, 1/42, −1/30, …

This is the viewpoint of Jakob Bernoulli. (See the cutout from his Ars Conjectandi, first edition, 1713). The Bernoulli numbers are understood as numbers, recursive in nature, invented to solve a certain arithmetical problem, the summation of powers, which is the paradigmatic application of the Bernoulli numbers. These are also the numbers appearing in the Taylor series expansion of tan(x) and tanh(x). It is misleading to call this viewpoint 'archaic'. For example, Jean-Pierre Serre uses it in his highly acclaimed book A Course in Arithmetic which is a standard textbook used at many universities today.

Bernoulli numbers as combinatorial objects.

Associated sequence: 1, +1/2, 1/6, 0, …

This view focuses on the connection between Stirling numbers and Bernoulli numbers and arises naturally in the calculus of finite differences. In its most general and compact form this connection is summarized by the definition of the Stirling polynomials σn(x), formula (6.52) in Concrete Mathematics by Graham, Knuth and Patashnik.

 \left(\frac{ze^z}{e^{z}-1} \right)^x = x\sum_{n\geq0}\sigma_n (x)z^n

In consequence Bn = n! σn(1) for n ≥ 0.

Bernoulli numbers as values of a sequence of certain polynomials.

Assuming the Bernoulli polynomials as already introduced the Bernoulli numbers can be defined in two different ways:

  • Bn = Bn(0). Associated sequence: 1, −1/2, 1/6, 0, …
  • Bn = Bn(1). Associated sequence: 1, +1/2, 1/6, 0, …

The two definitions differ only in the sign of B1. The choice Bn = Bn(0) is the convention used in the Handbook of Mathematical Functions.

The Bernoulli numbers as given by the Riemann zeta function.
Bernoulli numbers as values of the Riemann zeta function.

Associated sequence: 1, +1/2, 1/6, 0, …

Using this convention, the values of the Riemann zeta function satisfy nζ(1 − n) = −Bn for all integers n≥0. (See the paper of S. C. Woon; the expression nζ(1 − n) for n = 0 is to be understood as limx → 0 xζ(1 − x).)

Applications of the Bernoulli numbers

Asymptotic analysis

Arguably the most important application of the Bernoulli number in mathematics is their use in the Euler–Maclaurin formula. Assuming that ƒ is a sufficiently often differentiable function the Euler–Maclaurin formula can be written as [4]

 \sum\limits_{k=a}^{b-1} f(k)=\int_a^b f(x)\,dx \ + \sum\limits_{k=1}^m \frac{B_k}{k!} \left(f^{(k-1)}(b)-f^{(k-1)}(a)\right)+R_-(f,m).

This formulation assumes the convention B1 = −1/2. Using the convention B1 = 1/2 the formula becomes

 \sum\limits_{k=a+1}^{b} f(k)=\int_a^b f(x)\,dx \ + \sum\limits_{k=1}^m \frac{B_k}{k!} \left(f^{(k-1)}(b)-f^{(k-1)}(a)\right)+R_+(f,m).

Here ƒ(0) = ƒ which is a commonly used notation identifying the zero-th derivative of ƒ with ƒ. Moreover, let ƒ(−1) denote an antiderivative of ƒ. By the fundamental theorem of calculus,

\int_a^b f(x)\,dx\ = f^{(-1)}(b) - f^{(-1)}(a).

Thus the last formula can be further simplified to the following succinct form of the Euler–Maclaurin formula

 \sum\limits_{k=a}^{b}f(k)= \sum\limits_{k=0}^m \frac{B_k}{k!}\left(f^{(k-1)}(b)-f^{(k-1)}(a)\right)+R(f,m). \

This form is for example the source for the important Euler–Maclaurin expansion of the zeta function (B1 = <templatestyles src="Sfrac/styles.css" />1/2)

 \begin{align}
  \zeta(s) & =\sum_{k=0}^m \frac{B_k}{k!} s^{\overline{k-1}} + R(s,m) \\
           & = \frac{B_0}{0!}s^{\overline{-1}} + \frac{B_1}{1!} s^{\overline{0}} + \frac{B_2}{2!} s^{\overline{1}} +\cdots+R(s,m) \\
           & = \frac{1}{s-1} + \frac{1}{2} + \frac{1}{12}s + \cdots + R(s,m).
\end{align}

Here s^{\overline{k}} denotes the rising factorial power.[5]

Bernoulli numbers are also frequently used in other kinds of asymptotic expansions. The following example is the classical Poincaré-type asymptotic expansion of the digamma function (again B1 = <templatestyles src="Sfrac/styles.css" />1/2).

\psi(z) \sim  \ln z - \sum_{k=1}^{\infty}  \frac{B_{k}}{k z^k}

Taylor series of tan and tanh

The Bernoulli numbers appear in the Taylor series expansion of the tangent and the hyperbolic tangent functions:

\begin{align}
\tan x & {} = \sum_{n=1}^\infty \frac{(-1)^{n-1} 2^{2n} (2^{2n}-1) B_{2n} }{(2n)!}\; x^{2n-1},\,\, \left |x \right | < \frac {\pi} {2}\\
\tanh x & {} = \sum_{n=1}^\infty \frac{2^{2n}(2^{2n}-1)B_{2n}}{(2n)!}\;x^{2n-1},\,\, \left |x \right | < \frac {\pi} {2}.
\end{align}

Use in topology

The Kervaire–Milnor formula for the order of the cyclic group of diffeomorphism classes of exotic (4n − 1)-spheres which bound parallelizable manifolds involves Bernoulli numbers. Let ESn be the number of such exotic spheres for n ≥ 2, then

 ES_n = \left(2^{2n-2}-2^{4n-3}\right) \ \text{Numerator} \left(\frac{B_{4n}}{4n} \right) .

The Hirzebruch signature theorem for the L genus of a smooth oriented closed manifold of dimension 4n also involves Bernoulli numbers.

Combinatorial definitions

The connection of the Bernoulli number to various kinds of combinatorial numbers is based on the classical theory of finite differences and on the combinatorial interpretation of the Bernoulli numbers as an instance of a fundamental combinatorial principle, the inclusion-exclusion principle.

Connection with Worpitzky numbers

The definition to proceed with was developed by Julius Worpitzky in 1883. Besides elementary arithmetic only the factorial function n! and the power function k^m is employed. The signless Worpitzky numbers are defined as

 W_{n,k}=\sum_{v=0}^{k}(-1)^{v+k} \left(v+1\right)^{n} \frac{k!}{v!(k-v)!}  \ .

They can also be expressed through the Stirling numbers of the second kind

 W_{n,k}=k! \left\{ {n+1\atop k+1} \right\}.

A Bernoulli number is then introduced as an inclusion-exclusion sum of Worpitzky numbers weighted by the sequence 1, 1/2, 1/3, …

 B_{n}=\sum_{k=0}^{n}(-1)^{k}\frac{W_{n,k}}{k+1}\ =\ \sum_{k=0}^{n}\frac{1}{k+1}\sum_{v=0}^{k}(-1)^v \left(v+1\right)^{n} {k \choose v}\ .

This representation has B1 = 1/2.

Worpitzky's representation of the second Bernoulli numbers
B0  =  1/1
B1  =  1/1 − 1/2
B2  = 1/1 − 3/2 + 2/3
B3  =  1/1 − 7/2 + 12/3 − 6/4
B4  =  1/1 − 15/2 + 50/3 − 60/4 + 24/5
B5  =  1/1 − 31/2 + 180/3 − 390/4 + 360/5 − 120/6
B6  =  1/1 − 63/2 + 602/3 − 2100/4 + 3360/5 − 2520/6 + 720/7

Consider the sequence sn, n ≥ 0. From Worpitzky's numbers OEISA028246, OEISA163626 applied to s0, s0, s1, s0, s1, s2, s0, s1, s2, s3, ... is identical to Akiyama-Tanigawa transform applied to sn (see Connection with Stirling numbers of the first kind). This could be seen via the table:

Identity of Worpitzky's representation and Akiyama-Tanigawa transform
1           0 1         0 0 1       0 0 0 1     0 0 0 0 1  
1 -1         0 2 -2       0 0 3 -3     0 0 0 4 -4              
1 -3 2       0 4 -10 6     0 0 9 -21 12                          
1 -7 12 -6     0 8 -38 54 -24                                      
1 -15 50 -60 24                                                  

The first row represents s0, s1, s2, s3, s4 .

Hence for the second fractional Euler numbers OEISA198631(n)/OEISA006519(n+1):

Worpitzky's representation of the second Euler numbers
E0  =  1
E1  =  1 −  1/2
E2  =  1 −  3/2 +   2/4
E3  =  1 −  7/2 +  12/4 −    6/8
E4  =  1 − 15/2 +  50/4 −   60/8 +   24/16
E5  =  1 − 31/2 + 180/4 −  390/8 +  360/16 −  120/32
E6  =  1 − 63/2 + 602/4 − 2100/8 + 3360/16 − 2520/32 + 720/64

A second formula representing the Bernoulli numbers by the Worpitzky numbers is for n ≥ 1

 B_{n}=\frac{n}{2^{n+1}-2}\sum_{k=0}^{n-1} (-2)^{-k}\; W_{n-1,k}  \  .

The simplified second Worpitzky's representation of the second Bernoulli numbers is:

OEISA164555(n+1) / OEISA027642(n+1) = \frac{n+1}{2^{n+2}-2} \times OEISA198631(n) / OEISA006519(n+1)

which links the second Bernoulli numbers to the second fractional Euler numbers. The beginning is:

1/2, 1/6, 0, -1/30, 0, 1/42, ... = (1/2, 1/3, 3/14, 2/15, 5/62, 1/21, ...) * (1, 1/2, 0, -1/4, 0, 1/2, ...).

The numerators of the first parentheses are OEISA111701 (see Connection with Stirling numbers of the first kind).

Connection with Stirling numbers of the second kind

If  S(k,m) \! denotes Stirling numbers of the second kind[6] then one has:

j^k=\sum_{m=0}^{k}{j^{\underline{m}}}S(k,m)\!

where  j^{\underline{m}} \! denotes the falling factorial.

If one defines the Bernoulli polynomials  B_k(j) \! as:[7]

 B_k(j)=k\sum_{m=0}^{k-1}{j\choose m+1}S(k-1,m)m!+B_k \!

where  B_k \! for  k=0,1,2,... \! are the Bernoulli numbers.

Then after the following property of binomial coefficient:

 {j\choose m}={j+1\choose m+1}-{j\choose m+1} \!

one has,

 j^k=\frac{B_{k+1}(j+1)-B_{k+1}(j)}{k+1}. \!

One also has following for Bernoulli polynomials,[7]

  B_k(j)=\sum_{n=0}^{k}{{k \choose n} B_n j^{k-n}}. \!

The coefficient of j in \tbinom{j}{m+1} is \tfrac{(-1)^m}{m+1}.

Comparing the coefficient of j in the two expressions of Bernoulli polynomials, one has:

 B_k=\sum_{m=0}^{k}(-1)^m{\frac{m!}{m+1}}S(k,m)

(resulting in B1=1/2) which is an explicit formula for Bernoulli numbers and can be used to prove Von-Staudt Clausen theorem.[8][9][10]

Connection with Stirling numbers of the first kind

The two main formulas relating the unsigned Stirling numbers of the first kind \textstyle \left[{n\atop m}\right] to the Bernoulli numbers (with B1 = 1/2) are

 \frac{1}{m!}\sum_{k=0}^m (-1)^{k} \left[{m+1\atop k+1}\right] B_k = \frac{1}{m+1},

and the inversion of this sum (for n ≥ 0, m ≥ 0)

 \frac{1}{m!}\sum_{k=0}^m (-1)^{k} \left[{m+1\atop k+1}\right] B_{n+k} = A_{n,m}.

Here the number An,m are the rational Akiyama–Tanigawa numbers, the first few of which are displayed in the following table.

Akiyama–Tanigawa number
n \ m 0 1 2 3 4
0 1 1/2 1/3 1/4 1/5
1 1/2 1/3 1/4 1/5 ...
2 1/6 1/6 3/20 ... ...
3 0 1/30 ... ... ...
4 −1/30 ... ... ... ...

The Akiyama–Tanigawa numbers satisfy a simple recurrence relation which can be exploited to iteratively compute the Bernoulli numbers. This leads to the algorithm shown in the section 'algorithmic description' above. See OEISA051714/OEISA051715.

An autosequence is a sequence which has its inverse binomial transform equal to the signed sequence. If the main diagonal is 0's = OEISA000004, the autosequence is of the first kind. Example: OEISA000045, the Fibonacci numbers. If the main diagonal is the first upper diagonal multiplied by 2, it is of the second kind. Example: OEISA164555/OEISA027642, the second Bernoulli numbers (see OEISA190339). The Akiyama–Tanigawa transform applied to 2-n = 1/OEISA000079 leads to OEISA198631(n)/OEISA06519(n+1). Hence:

Akiyama–Tanigawa transform for the second Euler numbers
n \ m 0 1 2 3 4
0 1 1/2 1/4 1/8 1/16
1 1/2 1/2 3/8 1/4 ...
2 0 1/4 3/8 ... ...
3 -1/4 -1/4 ... ... ...
4 0 ... ... ... ...

See OEISA209308 and OEISA227577. OEISA198631(n)/OEISA006519(n+1) are the second (fractional) Euler numbers and an autosequence of the second kind.

( OEISA164555(n+2) / OEISA027642(n+2) = 1/6, 0, -1/30, 0 1/42, ... ) * ( (2n+3-2)/(n+2) = 3, 14/3, 15/2, 62/5, 21, ... ) = OEISA198631(n+1)/ OEISA006519(n+2) = 1/2, 0, -1/4, 0, 1/2, ... .

Also valuable for OEISA027641 / OEISA027642 (see Connection with Worpitzky numbers).

Connection with Eulerian numbers

There are formulas connecting Eulerian numbers \textstyle \left\langle {n\atop m} \right\rangle to Bernoulli numbers:

\sum_{m=0}^n (-1)^m {\left \langle {n\atop m} \right \rangle} = 2^{n+1}(2^{n+1}-1) \frac{B_{n+1}}{n+1},
\sum_{m=0}^n (-1)^m {\left \langle {n\atop m} \right \rangle} {\binom{n}{m}}^{-1} = (n+1) B_n.

Both formulas are valid for n ≥ 0 if B1 is set to ½. If B1 is set to −½ they are valid only for n ≥ 1 and n ≥ 2 respectively.

Connection with Balmer series

A link between Bernoulli numbers and Balmer series could be seen in sequence OEISA191567.

Representation of the second Bernoulli numbers

See OEISA191302. The number are not reduced. Then the columns are easy to find, the denominators being OEISA190339.

Representation of the second Bernoulli numbers
B0  =  1 = 2/2
B1  =  1/2
B2  = 1/2 − 2/6
B3  =  1/2 − 3/6
B4  =  1/2 − 4/6 +  2/15
B5  =  1/2 − 5/6 +  5/15
B6  =  1/2 − 6/6 +  9/15 −   8/105
B7  =  1/2 − 7/6 + 14/15 − 28/105

A binary tree representation

The Stirling polynomials σn(x) are related to the Bernoulli numbers by Bn = nn(1). S. C. Woon (Woon 1997) described an algorithm to compute σn(1) as a binary tree.

Woon's tree for σn(1)

SCWoonTree.png

Woon's recursive algorithm (for n ≥ 1) starts by assigning to the root node N = [1,2]. Given a node N = [a1,a2,..., ak] of the tree, the left child of the node is L(N) = [−a1,a2 + 1, a3, ..., ak] and the right child R(N) = [a1,2, a2, ..., ak]. A node N = [a1,a2,..., ak] is written as ±[a2,..., ak] in the initial part of the tree represented above with ± denoting the sign of a1.

Given a node N the factorial of N is defined as

 N! = a_1 \prod_{k=2}^{\text{length}(N)} a_k!.

Restricted to the nodes N of a fixed tree-level n the sum of 1/N! is σn(1), thus

 B_n = \sum_{N \ \text{node of tree-level}\ n} \frac{n!}{N!}.

For example, B1 = 1!(1/2!), B2 = 2!(−1/3! + 1/(2!2!)), B3 = 3!(1/4! − 1/(2!3!) − 1/(3!2!) + 1/(2!2!2!)).

Asymptotic approximation

The Bernoulli numbers can be expressed in terms of the Riemann zeta function as

B_{2n} = (-1)^{n+1}\frac {2(2n)!} {(2\pi)^{2n}} \left[1+\frac{1}{2^{2n}}+\frac{1}{3^{2n}}+\frac{1}{4^{2n}}+\cdots\;\right].

It then follows from the Stirling formula that, as n goes to infinity,

 |B_{2 n}| \sim 4 \sqrt{\pi n} \left(\frac{n}{ \pi e} \right)^{2n}.

Including more terms from the zeta series yields a better approximation, as does factoring in the asymptotic series in Stirling's approximation.

Integral representation and continuation

The integral

 b(s) = 2e^{\frac{1}{2}s i \pi}\int_{0}^{\infty} \frac{st^{s}}{1-e^{2\pi t}} \frac{dt}{t}

has as special values b(2n) = B2n for n > 0.

For example, b(3) = (3/2)ζ(3)Π−3Ι and b(5) = −(15/2) ζ(5) Π −5Ι. Here ζ(n) denotes the Riemann zeta function and Ι the imaginary unit. Already Leonhard Euler (Opera Omnia, Ser. 1, Vol. 10, p. 351) considered these numbers and calculated

 \begin{align}
  p &= \frac{3}{2\pi^3}\left(1+\frac{1}{2^3}+\frac{1}{3^3}+\text{etc.}\ \right) = 0.0581522\ldots \\
  q &= \frac{15}{2\pi^{5}}\left(1+\frac{1}{2^5}+\frac{1}{3^5}+\text{etc.}\ \right) = 0.0254132\ldots.
\end{align}

The relation to the Euler numbers and π

The Euler numbers are a sequence of integers intimately connected with the Bernoulli numbers. Comparing the asymptotic expansions of the Bernoulli and the Euler numbers shows that the Euler numbers E2n are in magnitude approximately (2/π)(42n − 22n) times larger than the Bernoulli numbers B2n. In consequence:

 \pi \  \sim \  2 \left(2^{2n} - 4^{2n} \right) \frac{B_{2n}}{E_{2n}}.

This asymptotic equation reveals that π lies in the common root of both the Bernoulli and the Euler numbers. In fact π could be computed from these rational approximations.

Bernoulli numbers can be expressed through the Euler numbers and vice versa. Since for n odd BnEn = 0 (with the exception B1), it suffices to consider the case when n is even.

\begin{align}
  B_{n} &= \sum_{k=0}^{n-1}\binom{n-1}{k} \frac{n}{4^n-2^n}E_k \quad (n=2, 4, 6, \ldots) \\
  E_{n} &= \sum_{k=1}^n \binom{n}{k-1} \frac{2^k-4^k}{k} B_k \quad (n=2,4,6,\ldots)
\end{align}

These conversion formulas express an inverse relation between the Bernoulli and the Euler numbers. But more important, there is a deep arithmetic root common to both kinds of numbers, which can be expressed through a more fundamental sequence of numbers, also closely tied to π. These numbers are defined for n > 1 as

 S_n = 2 \left(\frac{2}{\pi}\right)^{n}\sum_{k=-\infty}^\infty \left(4k+1\right)^{-n} \quad (k=0,-1,1,-2,2,\ldots)

and S1 = 1 by convention (Elkies 2003). The magic of these numbers lies in the fact that they turn out to be rational numbers. This was first proved by Leonhard Euler in a landmark paper (Euler 1735) ‘De summis serierum reciprocarum’ (On the sums of series of reciprocals) and has fascinated mathematicians ever since. The first few of these numbers are

 S_n = 1,1,\frac{1}{2},\frac{1}{3},\frac{5}{24}, \frac{2}{15},\frac{61}{720},\frac{17}{315},\frac{277}{8064},\frac{62}{2835},\ldots  (OEISA099612 / OEISA099617)

This is the coefficients in expansion of sec(x) + tan(x).

The Bernoulli numbers and Euler numbers are best understood as special views of these numbers, selected from the sequence Sn and scaled for use in special applications.

\begin{align}
  B_{n} &= (-1)^{\left\lfloor \frac{n}{2}\right\rfloor }\left[ n\ \operatorname{even}\right] \frac{n! }{2^n - 4^n}\, S_{n}\ , \quad (n=  2, 3, \ldots) \\
  E_{n} &= (-1)^{\left\lfloor \frac{n}{2}\right\rfloor }\left[ n\ \operatorname{even}\right] n! \, S_{n+1}  \quad\qquad (n = 0, 1, \ldots)
\end{align}

The expression [n even] has the value 1 if n is even and 0 otherwise (Iverson bracket).

These identities show that the quotient of Bernoulli and Euler numbers at the beginning of this section is just the special case of Rn = 2Sn / Sn+1 when n is even. The Rn are rational approximations to π and two successive terms always enclose the true value of π. Beginning with n = 1 the sequence starts (OEISA132049 / OEISA132050):

 2, 4, 3, \frac{16}{5}, \frac{25}{8}, \frac{192}{61}, \frac{427}{136}, \frac{4352}{1385}, \frac{12465}{3968}, \frac{158720}{50521},\ldots \quad \longrightarrow \pi.

These rational numbers also appear in the last paragraph of Euler's paper cited above.

Consider the Akiyama-Tanigawa transform for the sequence OEISA046978(n+2) / OEISA016116(n+1):

0 1 1/2 0 –1/4 –1/4 –1/8 0
1 1/2 1 3/4 0 –5/8 –3/4
2 –1/2 1/2 9/4 5/2 5/8
3 –1 –7/2 –3/4 15/2
4 5/2 –11/2 –99/4
5 8 77/2
6 –61/2

From the second, the numerators of the first column are the denominators of Euler's formula. The first column is -OEISA163982/2.

An algorithmic view: the Seidel triangle

The sequence Sn has another unexpected yet important property: The denominators of Sn divide the factorial (n − 1)!. In other words: the numbers Tn = Sn(n − 1)!, sometimes called Euler zigzag numbers, are integers.

 T_{n} = 1,1,1,2,5,16,61,272,1385,7936,50521,353792,\ldots \quad (n=0, 1, 2, 3, \ldots) (OEISA000111). See (OEISA253671).

Thus the above representations of the Bernoulli and Euler numbers can be rewritten in terms of this sequence as

\begin{align}
  B_{n} &= (-1)^{\left\lfloor \frac{n}{2}\right\rfloor }\left[ n\text{ even}\right] \frac{n }{2^n-4^n}\, T_{n}\ , \quad (n = 2, 3, \ldots) \\
  E_{n} &= (-1)^{\left\lfloor \frac{n}{2}\right\rfloor }\left[ n\text{ even}\right] T_{n+1} \quad\quad\qquad(n = 0, 1, \ldots)
\end{align}

These identities make it easy to compute the Bernoulli and Euler numbers: the Euler numbers En are given immediately by T2n + 1 and the Bernoulli numbers B2n are obtained from T2n by some easy shifting, avoiding rational arithmetic.

What remains is to find a convenient way to compute the numbers Tn. However, already in 1877 Philipp Ludwig von Seidel (Seidel 1877) published an ingenious algorithm which makes it extremely simple to calculate Tn.

Seidel's algorithm for Tn

[begin] Start by putting 1 in row 0 and let k denote the number of the row currently being filled. If k is odd, then put the number on the left end of the row k − 1 in the first position of the row k, and fill the row from the left to the right, with every entry being the sum of the number to the left and the number to the upper. At the end of the row duplicate the last number. If k is even, proceed similar in the other direction. [end]

Seidel's algorithm is in fact much more general (see the exposition of Dominique Dumont (Dumont 1981)) and was rediscovered several times thereafter.

Similar to Seidel's approach D. E. Knuth and T. J. Buckholtz (Knuth & Buckholtz 1967) gave a recurrence equation for the numbers T2n and recommended this method for computing B2n and E2n ‘on electronic computers using only simple operations on integers’.

V. I. Arnold rediscovered Seidel's algorithm in (Arnold 1991) and later Millar, Sloane and Young popularized Seidel's algorithm under the name boustrophedon transform.

Triangular form:

             1            
           1    1          
         2    2    1        
       2    4    5    5      
     16    16    14    10    5    
   16    32    46    56    61    61  
272   272   256   224   178   122    61

Only OEISA000657, with one 1, and OEISA214267, with two 1's, are in the OEIS.

Distribution with a supplementary 1 and one 0 in the following rows:

                          1                        
           0    1          
         −1    −1     0        
       0    −1    −2    −2      
      5     5     4     2     0    
   0    5    10    14    16    16  
−61   −61   −56   −46   −32   −16    0

This is OEISA239005, a signed version of OEISA008280. The main andiagonal is OEISA122045. The main diagonal is OEISA155585. The central column is OEISA099023. Row sums: 1 1 -2 -5 16 61... . See -OEISA163747. See the array beginning with 1 1 0 −2 0 16 0 below.

The Akiyama–Tanigawa algorithm applied to OEISA046978(n + 1) / OEISA016116(n) yields:

1 1 1/2 0 −1/4 −1/4 −1/8
0 1 3/2 1 0 −3/4
−1 −1 3/2 4 15/4
0 −5 −15/2 1
5 5 −51/2
0 61
−61

1) The first column is OEISA122045. Its binomial transform leads to:

1 1 0 −2 0 16 0
0 −1 −2 2 16 −16
−1 −1 4 14 −32
0 5 10 −46
5 5 −56
0 −61
−61

The first row of this array is OEISA155585. The absolute values of the increasing antidiagonals are OEISA008280. The sum of the antidiagonals is OEISA163747(n + 1).

2) The second column is 1 1 −1 −5 5 61 −61 −1385 1385... Its binomial transform yields:

1 2 2 −4 −16 32 272
1 0 −6 −12 48 240
−1 −6 −6 60 192
−5 0 66 32
5 66 66
61 0
−61

The first row of this array is 1 2 2 −4 −16 32 272 544 −7936 15872 353792 −707584... The absolute values of the second bisection are the double of the absolute values of the first bisection.

Consider the Akiyama-Tanigawa algorithm applied to OEISA046978(n) / (OEISA158780(n + 1) = abs(OEISA117575(n)) + 1 = 1, 2, 2, 3/2, 1, 3/4, 3/4, 7/8, 1, 17/16, 17/16, 33/32... .

1 2 2 3/2 1 3/4 3/4
−1 0 3/2 2 5/4 0
−1 −3 −3/2 3 25/4
2 −3 −27/2 −13
5 21 −3/2
−16 45
−61

The first column whose the absolute values are OEISA000111 could be the numerator of a trigonometric function.

OEISA163747 is an autosequence of the first kind (the main diagonal is OEISA000004). The corresponding array is:

0 −1 −1 2 5 −16 −61
−1 0 3 3 −21 −45
1 3 0 −24 −24
2 −3 −24 0
−5 −21 24
−16 45
−61

The first two upper diagonals are −1 3 −24 402... = (−1)^(n + 1) · OEISA002832. The sum of the antidiagonals is 0 −2 0 10... = 2 · OEISA122045(n + 1).

-OEISA163982 is an autosequence of the second kind, like for instance OEISA164555 / OEISA027642. Hence the array:

2 1 −1 −2 5 16 −61
−1 −2 −1 7 11 −77
−1 1 8 4 −88
2 7 −4 −92
5 −11 −88
−16 −77
−61

The main diagonal, here 2 −2 8 −92..., is the double of the first upper one, here OEISA099023. The sum of the antidiagonals is 2 0 −4 0... = 2 · OEISA155585(n + 1). Note that OEISA163747 − OEISA163982 = 2 · OEISA122045.

A combinatorial view: alternating permutations

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Around 1880, three years after the publication of Seidel's algorithm, Désiré André proved a now classic result of combinatorial analysis (André 1879) & (André 1881). Looking at the first terms of the Taylor expansion of the trigonometric functions tan x and sec x André made a startling discovery.

\begin{align}
  \tan x &= 1\frac{x}{1!} + 2\frac{x^3}{3!} + 16\frac{x^5}{5!} + 272\frac{x^7}{7!} + 7936\frac{x^9}{9!} + \cdots\\
  \sec x &= 1 + 1\frac{x^2}{2!} + 5\frac{x^4}{4!} + 61\frac{x^6}{6!} + 1385\frac{x^8}{8!} + 50521\frac{x^{10}}{10!} + \cdots
\end{align}

The coefficients are the Euler numbers of odd and even index, respectively. In consequence the ordinary expansion of tan x + sec x has as coefficients the rational numbers Sn.

 \tan x + \sec x = 1 + 1x + \frac{1}{2}x^2 + \frac{1}{3}x^3 + \frac{5}{24}x^4 + \frac{2}{15}x^5 + \frac{61}{720}x^6 + \cdots

André then succeeded by means of a recurrence argument to show that the alternating permutations of odd size are enumerated by the Euler numbers of odd index (also called tangent numbers) and the alternating permutations of even size by the Euler numbers of even index (also called secant numbers).

Related sequences

The arithmetic mean of the first and the second Bernoulli numbers are the associate Bernoulli numbers: B0 = 1, B1 = 0, B2 = 1/6, B3 = 0, B4 = -1/30, OEISA176327 / OEISA027642. Via the second row of its inverse Akiyama–Tanigawa transform OEISA177427, they lead to Balmer series OEISA061037 / OEISA061038.

The Akiyama-Tanigawa algorithm applied to OEISA060819(n+4) / OEISA145979(n) leads to the Bernoulli numbers OEISA027641 / OEISA027642, OEISA164555 / OEISA027642, or OEISA176327 OEISA176289 without B1, named intrinsic Bernoulli numbers.

Akiyama-Tanigawa transform for the Bernoulli numbers without B1
1 5/6 3/4 7/10 2/3
1/6 1/6 3/20 2/15 5/42
0 1/30 1/20 2/35 5/84
−1/30 −1/30 −3/140 −1/105 0
0 −1/42 −1/28 −4/105 −1/28

Hence another link between the intrinsic Bernoulli numbers and the Balmer series via OEISA145979(n).

OEISA145979(n-2) = 0, 2, 1, 6,... is a permutation of the non-negative numbers.

The terms of the first row are 1/2 + 1/(n+2).

Generalization to the odd-index Bernoulli numbers

1, 1/2, 1/6, 3/56, 1/30, 25/992, 1/42, 427/16256, 1/30, 12465/261632, 5/66, 555731/4102256, 691/2730, 35135945/67100672, 7/6, 2990414715/1073709056, ... (OEISA193472/OEISA193473)[11]

This is ez(n-1)*n!/(4^n-2^n) where ez(n) is the n-th coefficient of sec(t)+tan(t) (OEISA000111/OEISA000142).

A companion to the second Bernoulli numbers

See OEISA190339. The following fractional numbers are an autosequence of the first kind. OEISA191754 / OEISA192366 = 0, 1/2, 1/2, 1/3, 1/6, 1/15, 1/30, 1/35, 1/70, –1/105, –1/210, 41/1155, 41/2310, –589/5005, -589/10010 ...

Apply T(n+1,k) = 2 * T (n,k+1) - T(n,k) to T(0,k) = OEISA191754(k)/OEISA192366(k):

0 1/2 1/2 1/3 1/6 1/15
1 1/2 1/6 0 -1/30 0
0 -1/6 -1/6 -1/15 1/30 1/21
-1/3 -1/6 1/30 2/15 13/210 -2/21
0 7/30 7/30 -1/105 -53/210 -13/105
7/15 7/30 -53/210 -52/105 1/210 92/105

The rows are alternatively autosequences of the first and of the second kind. The second row is OEISA164555/OEISA027642. For the third row, see OEISA051716.

The first column is 0, 1, 0, -1/3, 0, 7/15, 0, -31/21, 0, 127/105, 0, -511/33, ... from Mersenne numbers, see OEISA141459. For the second column see OEISA140252.

Consider the triangle OEISA097805(n+1) = Fiba(n) =

0      
1 0
1 1 0
1 2 1 0

This is the Pascal's triangle OEISA0007318 boarded by 0's. The antidiagonals sums are OEISA000045, the Fibonacci numbers. Two elementary transforms yield the array ASPEC0, a companion to ASPEC in OEISA191302.

ASPEC0
0 1 1 1 1
0 1 2 3 4
0 1 3 6 10
0 1 4 10 20
0 1 5 15 35

Multiplying the SBD array in OEISA191302 by ASPEC0, we have by row sums OEISA191754/OEISA192366:

Representation of a companion to the second Bernoulli numbers
0
1/2
1/2 0
1/2 -1/6
1/2 -2/6 0
1/2 -3/6 1/15
1/2 -4/6 3/15 0
1/2 -5/6 6/15 -4/105

This triangle is unreduced.

Arithmetical properties of the Bernoulli numbers

The Bernoulli numbers can be expressed in terms of the Riemann zeta function as Bn = − nζ(1 − n) for integers n ≥ 0 provided for n = 0 and n = 1 the expression − nζ(1 − n) is understood as the limiting value and the convention B1 = 1/2 is used. This intimately relates them to the values of the zeta function at negative integers. As such, they could be expected to have and do have deep arithmetical properties. For example, the Agoh–Giuga conjecture postulates that p is a prime number if and only if pBp−1 is congruent to −1 modulo p. Divisibility properties of the Bernoulli numbers are related to the ideal class groups of cyclotomic fields by a theorem of Kummer and its strengthening in the Herbrand-Ribet theorem, and to class numbers of real quadratic fields by Ankeny–Artin–Chowla.

The Kummer theorems

The Bernoulli numbers are related to Fermat's last theorem (FLT) by Kummer's theorem (Kummer 1850), which says:

If the odd prime p does not divide any of the numerators of the Bernoulli numbers B2B4, ..., Bp−3 then xp + yp + zp = 0 has no solutions in non-zero integers.

Prime numbers with this property are called regular primes. Another classical result of Kummer (Kummer 1851) are the following congruences.

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Let p be an odd prime and b an even number such that p − 1 does not divide b. Then for any non-negative integer k
 \frac{B_{k(p-1)+b}}{k(p-1)+b}\ \equiv \ \frac{B_{b}}{b} \pmod{p}.

A generalization of these congruences goes by the name of p-adic continuity.

p-adic continuity

If b, m and n are positive integers such that m and n are not divisible by p − 1 and \scriptstyle m \equiv n\pmod{p^{b-1}(p-1)}, then

(1-p^{m-1}){B_m \over m} \equiv (1-p^{n-1}){B_n \over n} \pmod{p^b}.

Since Bn = —n ζ(1 — n), this can also be written

(1-p^{-u})\zeta(u) \equiv (1-p^{-v})\zeta(v) \pmod{p^b},~

where u = 1 − m and v = 1 − n, so that u and v are nonpositive and not congruent to 1 modulo p − 1. This tells us that the Riemann zeta function, with 1 − ps taken out of the Euler product formula, is continuous in the p-adic numbers on odd negative integers congruent modulo p − 1 to a particular \scriptstyle a \not \equiv 1\pmod{p-1}, and so can be extended to a continuous function ζp(s) for all p-adic integers \scriptstyle \Bbb{Z}_p\,, the p-adic zeta function.

Ramanujan's congruences

The following relations, due to Ramanujan, provide a method for calculating Bernoulli numbers that is more efficient than the one given by their original recursive definition:

{{m+3}\choose{m}}B_m=\begin{cases} {{m+3}\over3}-\sum\limits_{j=1}^{m/6}{m+3\choose{m-6j}}B_{m-6j}, & \mbox{if}\ m\equiv 0\pmod{6};\\
{{m+3}\over3}-\sum\limits_{j=1}^{(m-2)/6}{m+3\choose{m-6j}}B_{m-6j}, & \mbox{if}\ m\equiv 2\pmod{6};\\
-{{m+3}\over6}-\sum\limits_{j=1}^{(m-4)/6}{m+3\choose{m-6j}}B_{m-6j}, & \mbox{if}\ m\equiv 4\pmod{6}.\end{cases}

Von Staudt–Clausen theorem

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

The von Staudt–Clausen theorem was given by Karl Georg Christian von Staudt (von Staudt 1840) and Thomas Clausen (Clausen 1840) independently in 1840. The theorem states that for every n > 0,

 B_{2n} + \sum_{(p-1)|2n} \frac1p

is an integer. The sum extends over all primes p for which p − 1 divides 2n.

A consequence of this is that the denominator of B2n is given by the product of all primes p for which p − 1 divides 2n. In particular, these denominators are square-free and divisible by 6.

Why do the odd Bernoulli numbers vanish?

The sum

\varphi_k(n) = \sum_{i=0}^n i^k - \frac{n^k}{2}

can be evaluated for negative values of the index n. Doing so will show that it is an odd function for even values of k, which implies that the sum has only terms of odd index. This and the formula for the Bernoulli sum imply that B2k+1−m is 0 for m even and 2k+1-m greater than 1; and that the term for B1 is cancelled by the subtraction. The von Staudt Clausen theorem combined with Worpitzky's representation also gives a combinatorial answer to this question (valid for n > 1).

From the von Staudt Clausen theorem it is known that for odd n > 1 the number 2Bn is an integer. This seems trivial if one knows beforehand that in this case Bn = 0. However, by applying Worpitzky's representation one gets

 2B_n =\sum_{m=0}^n \left(-1\right)^m \frac{2}{m+1}m! \left\{{n+1\atop m+1}\right\}=0\quad\left(n>1\ \text{is odd}\right)

as a sum of integers, which is not trivial. Here a combinatorial fact comes to surface which explains the vanishing of the Bernoulli numbers at odd index. Let Sn,m be the number of surjective maps from {1, 2, ..., n} to {1, 2, ..., m}, then \textstyle S_{n,m}=m! \left\{{n\atop m}\right\}. The last equation can only hold if

 \sum_{m=1,3,5,\ldots\leq n}\frac{2}{m^{2}}S_{n,m}=\sum_{m=2,4,6,\ldots\leq n} \frac{2}{m^{2}} S_{n,m} \quad \left(n>2\ \text{is even}\right).\

This equation can be proved by induction. The first two examples of this equation are

n = 4:  2 + 8 = 7 + 3, 
n = 6:  2 + 120 + 144 = 31 + 195 + 40.

Thus the Bernoulli numbers vanish at odd index because some non-obvious combinatorial identities are embodied in the Bernoulli numbers.

A restatement of the Riemann hypothesis

The connection between the Bernoulli numbers and the Riemann zeta function is strong enough to provide an alternate formulation of the Riemann hypothesis (RH) which uses only the Bernoulli number. In fact Marcel Riesz (Riesz 1916) proved that the RH is equivalent to the following assertion:

For every ε > 1/4 there exists a constant Cε > 0 (depending on ε) such that |R(x)| < Cε xε as x → ∞.

Here R(x) is the Riesz function

 R(x) = 2 \sum_{k=1}^{\infty}
\frac{k^{\overline{k}} x^{k}}{(2\pi)^{2k}\left(B_{2k}/(2k)\right)}
= 2\sum_{k=1}^{\infty}\frac{k^{\overline{k}}x^{k}}{(2\pi)^{2k}\beta_{2k}}. \

n^{\overline{k}} denotes the rising factorial power in the notation of D. E. Knuth. The number βn = Bn/n occur frequently in the study of the zeta function and are significant because βn is a p-integer for primes p where p − 1 does not divide n. The βn are called divided Bernoulli number.

History

Early history

The Bernoulli numbers are rooted in the early history of the computation of sums of integer powers, which have been of interest to mathematicians since antiquity.

A page from Seki Kōwa's Katsuyo Sampo (1712), tabulating binomial coefficients and Bernoulli numbers

Methods to calculate the sum of the first n positive integers, the sum of the squares and of the cubes of the first n positive integers were known, but there were no real 'formulas', only descriptions given entirely in words. Among the great mathematicians of antiquity which considered this problem were: Pythagoras (c. 572–497 BCE, Greece), Archimedes (287–212 BCE, Italy), Aryabhata (b. 476, India), Abu Bakr al-Karaji (d. 1019, Persia) and Abu Ali al-Hasan ibn al-Hasan ibn al-Haytham (965–1039, Iraq).

During the late sixteenth and early seventeenth centuries mathematicians made significant progress. In the West Thomas Harriot (1560–1621) of England, Johann Faulhaber (1580–1635) of Germany, Pierre de Fermat (1601–1665) and fellow French mathematician Blaise Pascal (1623–1662) all played important roles.

Thomas Harriot seems to have been the first to derive and write formulas for sums of powers using symbolic notation, but even he calculated only up to the sum of the fourth powers. Johann Faulhaber gave formulas for sums of powers up to the 17th power in his 1631 Academia Algebrae, far higher than anyone before him, but he did not give a general formula.

Blaise Pascal in 1654 proved Pascal's identity relating the sums of the p-th powers of the first n positive integers for p = 0, 1, 2, …, k.

The Swiss mathematician Jakob Bernoulli (1654–1705) was the first to realize the existence of a single sequence of constants B0, B1, B2, ... which provide a uniform formula for all sums of powers (Knuth 1993).

The joy Bernoulli experienced when he hit upon the pattern needed to compute quickly and easily the coefficients of his formula for the sum of the c-th powers for any positive integer c can be seen from his comment. He wrote:

“With the help of this table, it took me less than half of a quarter of an hour to find that the tenth powers of the first 1000 numbers being added together will yield the sum
91,409,924,241,424,243,424,241,924,242,500.”

Bernoulli's result was published posthumously in Ars Conjectandi in 1713. Seki Kōwa independently discovered the Bernoulli numbers and his result was published a year earlier, also posthumously, in 1712.[1] However, Seki did not present his method as a formula based on a sequence of constants.

Bernoulli's formula for sums of powers is the most useful and generalizable formulation to date. The coefficients in Bernoulli's formula are now called Bernoulli numbers, following a suggestion of Abraham de Moivre.

Bernoulli's formula is sometimes called Faulhaber's formula after Johann Faulhaber who found remarkable ways to calculate sum of powers but never stated Bernoulli's formula. To call Bernoulli's formula Faulhaber's formula does injustice to Bernoulli and simultaneously hides the genius of Faulhaber as Faulhaber's formula is in fact more efficient than Bernoulli's formula. According to Knuth (Knuth 1993) a rigorous proof of Faulhaber’s formula was first published by Carl Jacobi in 1834 (Jacobi 1834). E. Knuth's in-depth study of Faulhaber's formula concludes:

“Faulhaber never discovered the Bernoulli numbers; i.e., he never realized that a single sequence of constants B0, B1, B2, ... would provide a uniform
 \quad \sum n^m = \frac 1{m+1}\left( B_0n^{m+1}-\binom{m+1}1B_1n^m+\binom{m+1} 2B_2n^{m-1}-\cdots +(-1)^m\binom{m+1}mB_mn\right)
for all sums of powers. He never mentioned, for example, the fact that almost half of the coefficients turned out to be zero after he had converted his formulas for \scriptstyle \sum n^m from polynomials in N to polynomials in n.” (Knuth 1993, p. 14)

Reconstruction of "Summae Potestatum"

Jakob Bernoulli's Summae Potestatum, 1713

The Bernoulli numbers were introduced by Jakob Bernoulli in the book Ars Conjectandi published posthumously in 1713 page 97. The main formula can be seen in the second half of the corresponding facsimile. The constant coefficients denoted A, B, C and D by Bernoulli are mapped to the notation which is now prevalent as A = B2, B = B4, C = B6, D = B8. In the expression c·c−1·c−2·c−3 the small dots are used as grouping symbols, not as signs for multiplication. Using today's terminology these expressions are falling factorial powers \scriptstyle c^{\underline{k}}. The factorial notation k! as a shortcut for 1 × 2 × ... × k was not introduced until 100 years later. The integral symbol on the left hand side goes back to Gottfried Wilhelm Leibniz in 1675 who used it as a long letter S for "summa" (sum). (The Mathematics Genealogy Project [12] shows Leibniz as the doctoral adviser of Jakob Bernoulli. See also the Earliest Uses of Symbols of Calculus.[13]) The letter n on the left hand side is not an index of summation but gives the upper limit of the range of summation which is to be understood as 1, 2, …, n. Putting things together, for positive c, today a mathematician is likely to write Bernoulli's formula as:

 \sum_{0 < k \leq n} k^{c} = \frac{n^{c+1}}{c+1}+\frac{1}{2}n^c+\sum_{k \geq 2}\frac{B_{k}}{k!}c^{\underline{k-1}}n^{c-k+1}.

In fact this formula imperatively suggests to set B1 = ½ when switching from the so-called 'archaic' enumeration which uses only the even indices 2, 4, … to the modern form (more on different conventions in the next paragraph). Most striking in this context is the fact that the falling factorial \scriptstyle c^{\underline{k-1}} has for k = 0 the value \scriptstyle \frac{1}{c+1}.[14] Thus Bernoulli's formula can and has to be written:

 \sum_{0 < k \leq n} k^{c} = \sum_{k \geq 0}\frac{B_{k}}{k!}c^{\underline{k-1}}n^{c-k+1}.

If B1 stands for the value Bernoulli himself has given to the coefficient at that position.

Generalized Bernoulli numbers

The generalized Bernoulli numbers are certain algebraic numbers, defined similarly to the Bernoulli numbers, that are related to special values of Dirichlet L-functions in the same way that Bernoulli numbers are related to special values of the Riemann zeta function.

Let χ be a Dirichlet character modulo f. The generalized Bernoulli numbers attached to χ are defined by

\sum_{a=1}^f\chi(a)\frac{te^{at}}{e^{ft}-1}=\sum_{k=0}^\infty B_{k,\chi}\frac{t^k}{k!}.

Apart from the exceptional B1,1=1/2, we have, for any Dirichlet character χ, that Bk = 0 if χ(-1) ≠ (-1)k.

Generalizing the relation between Bernoulli numbers and values of the Riemann zeta function at non-positive integers, one has the for all integers k ≥ 1

L(1-k,\chi)=-\frac{B_{k,\chi}}{k},

where L(s, χ) is the Dirichlet L-function of χ.[15]

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Appendix

Assorted identities

  • Umbral calculus gives a compact form of Bernoulli's formula by using an abstract symbol B:
    S_m(n) = {1\over{m+1}} [(\mathbf{B} + n)^{m+1} - B_{m+1}]

    where the symbol \mathbf{B}^k that appears during binomial expansion of the parenthesized term is to be replaced by the Bernoulli number B_k (and \scriptstyle B_1 = -{1\over 2}). More suggestively and mnemonically, this may be written as a definite integral:

    S_m(n) = \int_0^n (\mathbf{B}+x)^m\,dx

    Many other Bernoulli identities can be written compactly with this symbol, e.g.

     (\mathbf{B} + 1)^m  = B_m
  • Let n be non-negative and even
     \zeta(n) = \frac{\left(-1\right)^{\frac{n}{2}-1}B_n\left(2\pi\right)^n}{2(n!)}
  • The nth cumulant of the uniform probability distribution on the interval [−1, 0] is Bn/n.
  • Let n? = 1/n! and n ≥ 1.

    Then Bn is the following (n+1) x (n+1) determinant:[16]

     B_n = n! \begin{vmatrix}
1 & 0 & \cdots & 0 & 1 \\
2? & 1 &  & 0 & 0 \\
\vdots & & \ddots & & \vdots \\
n? & (n-1)? &  & 1 & 0 \\
(n+1)? & n? & \cdots & 2? & 0
\end{vmatrix}  
= n! \begin{vmatrix}
1 & 0 & \cdots & 0 & 1 \\
\frac{1}{2!} & 1 &  & 0 & 0 \\
\vdots & & \ddots & & \vdots \\
\frac{1}{n!} & \frac{1}{(n-1)!} &  & 1 & 0 \\
\frac{1}{(n+1)!} & \frac{1}{n!} & \cdots & \frac{1}{2!} & 0
\end{vmatrix}
    Thus the determinant is σn(1), the Stirling polynomial at x = 1.
  • For even-numbered Bernoulli numbers, B2p is given by the (p+1) x (p+1) determinant:[16]
     B_{2p} = -\frac{(2p)!}{2^{2p} - 2} \begin{vmatrix}
1 & 0 & 0 & \cdots & 0 & 1 \\
\frac{1}{3!} & 1 & 0 & \cdots & 0 & 0 \\
\frac{1}{5!} & \frac{1}{3!} & 1 & & 0 & 0 \\
\vdots & & \ddots & &   & \vdots \\
\vdots & & & \ddots &   & \vdots \\
\frac{1}{(2p+1)!} & \frac{1}{(2p-1)!} & \frac{1}{(2p-3)!} &\cdots & \frac{1}{3!} & 0
\end{vmatrix}
  • Let n ≥ 1.
     \frac{1}{n} \sum_{k=1}^n \binom{n}{k}B_k B_{n-k}+B_{n-1}=-B_n \quad \text{(L. Euler)}
  • Let n ≥ 1. Then (von Ettingshausen 1827)
     \sum_{k=0}^{n}\binom{n+1}{k}(n+k+1)B_{n+k}=0
  • Let n ≥ 0. Then (Leopold Kronecker 1883)
     B_n = - \sum_{k=1}^{n+1} \frac{(-1)^k}{k} \binom{n+1}{k} \sum_{j=1}^{k} j^n
  • Let n ≥ 1 and m ≥ 1. Then (Carlitz 1968)
     (-1)^{m}\sum_{r=0}^m \binom{m}{r}B_{n+r}=(-1)^{n}\sum_{s=0}^{n}\binom{n}{s}B_{m+s}
  • Let n ≥ 4 and
     H_{n}=\sum_{1\leq k\leq n}k^{-1}

    the harmonic number. Then

     \frac{n}{2}\sum_{k=2}^{n-2}\frac{B_{n-k}}{n-k}\frac{B_k}{k} - \sum_{k=2}^{n-2} \binom{n}{k}\frac{B_{n-k}}{n-k}B_{k}=H_{n}B_n \qquad\text{(H. Miki, 1978)}
  • Let n ≥ 4. Yuri Matiyasevich found (1997)
     (n+2)\sum_{k=2}^{n-2}B_k B_{n-k}-2\sum_{l=2}^{n-2}\binom{n+2}{l} B_l B_{n-l}=n(n+1)B_n
  • Faber–PandharipandeZagier–Gessel identity: for n ≥ 1,
     \frac{n}{2}\left(B_{n-1}(x)+\sum_{k=1}^{n-1}\frac{B_{k}(x)}{k}
\frac{B_{n-k}(x)}{n-k}\right) -\sum_{k=0}^{n-1}\binom{n}{k}\frac{B_{n-k}}
{n-k}B_{k}(x)=H_{n-1}B_{n}(x).
    Choosing x = 0 or x = 1 results in the Bernoulli number identity in one or another convention.
  • The next formula is true for n ≥ 0 if B1 = B1(1) = ½, but only for n ≥ 1 if B1 = B1(0) = −½.
     \sum_{k=0}^{n}\binom{n}{k} \frac{B_{k}}{n-k+2} = \frac{B_{n+1}}{n+1}
  • Let n ≥ 0 and [b] = 1 if b is true, 0 otherwise.
     -1 + \sum_{k=0}^{n}\binom{n}{k} \frac{2^{n-k+1}}{n-k+1}B_{k}(1) = 2^n

    and

     -1 + \sum_{k=0}^n \binom{n}{k} \frac{2^{n-k+1}}{n-k+1}B_{k}(0) = [n=0]
  • A reciprocity relation of M. B. Gelfand (Agoh & Dilcher 2008):
     (-1)^{m+1} \sum_{j=0}^k \binom{k}{j} \frac{B_{m+1+j}}{m+1+j} + (-1)^{k+1} \sum_{j=0}^m \frac{B_{k+1+j}}{k+1+j} = \frac{k!m!}{(k+m+1)!}

Values of the first Bernoulli numbers

Bn = 0 for all odd n other than 1. For even n, Bn is negative if n is divisible by 4 and positive otherwise. The first few non-zero Bernoulli numbers are:

n Numerator Denominator Decimal approximation
0 1 1 +1.00000000000
1 ±1 2 ±0.50000000000
2 1 6 +0.16666666667
4 −1 30 −0.03333333333
6 1 42 +0.02380952381
8 −1 30 −0.03333333333
10 5 66 +0.07575757576
12 −691 2730 −0.25311355311
14 7 6 +1.16666666667
16 −3617 510 −7.09215686275
18 43867 798 +54.9711779448
OEISA027641 OEISA027642

From 6, the denominators are multiples of the sequence of period 2 : 6,30 OEISA165734. From 2, the denominators are of the form 4*k + 2.

A subsequence of the Bernoulli numbers denominators

OEISA219196 = OEISA027642(OEISA131577) = 1, 2, 6, 30, 30, 510, 510, 510, 510, 131070, 131070, 131070, 131070, 131070, 131070, 131070, 131070, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590, 8589934590

See also

Notes

  1. 1.0 1.1 Selin, H. (1997), p. 891
  2. Smith, D. E. (1914), p. 108
  3. Note G in the Menabrea reference
  4. Concrete Mathematics, (9.67).
  5. Concrete Mathematics, (2.44) and (2.52)
  6. L. Comtet, Advanced combinatorics. The art of finite and infinite expansions, Revised and Enlarged Edition, D. Reidel Publ. Co., Dordrecht-Boston, 1974.
  7. 7.0 7.1 H. Rademacher, Analytic Number Theory, Springer-Verlag, New York, 1973.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. Lua error in package.lua at line 80: module 'strict' not found.
  11. Odd-index Bernoulli numbers
  12. Mathematics Genealogy Project
  13. Earliest Uses of Symbols of Calculus
  14. Lua error in package.lua at line 80: module 'strict' not found.
  15. Neukirch 1999, §VII.2
  16. 16.0 16.1 Lua error in package.lua at line 80: module 'strict' not found.

References

  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..
  • Lua error in package.lua at line 80: module 'strict' not found..

External links