Misplaced Pages

Bernoulli number: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 19:44, 23 January 2009 edit217.114.220.35 (talk) Von Staudt-Clausen theorem: Paragraph format← Previous edit Revision as of 21:05, 23 January 2009 edit undoJackSchmidt (talk | contribs)Extended confirmed users, Rollbackers6,618 editsm -sp, -entities, wikifyNext edit →
Line 1: Line 1:
In ], the '''Bernoulli numbers''' are a ] of ]s with deep connections to ]. They are closely related to the values of the ] at negative integers. In ], the '''Bernoulli numbers''' are a ] of ]s with deep connections to ]. They are closely related to the values of the ] at negative integers.


In Europe, they were first studied by ], after whom they were named by ]. In Japan, perhaps earlier, they were independently discovered by ]. They appear in the ] expansions of the ] and ] functions, in the ], and in expressions for certain values of the Riemann zeta function. In Europe, they were first studied by ], after whom they were named by ]. In Japan, perhaps earlier, they were independently discovered by ]. They appear in the ] expansions of the ] and ] functions, in the ], and in expressions for certain values of the Riemann zeta function.


In note G of ] from 1842, there is an ] for computer-generated Bernoulli numbers. This distinguishes the Bernoulli numbers as being the subject of the first ever published computer program. In note G of ] from 1842, there is an ] for computer-generated Bernoulli numbers. This distinguishes the Bernoulli numbers as being the subject of the first ever published computer program.
Line 10: Line 10:
:<math>\sum_{k=0}^{m-1} k^n = 0^n + 1^n + 2^n + \cdots + {(m-1)}^n </math> :<math>\sum_{k=0}^{m-1} k^n = 0^n + 1^n + 2^n + \cdots + {(m-1)}^n </math>


for various fixed values of ''n''. The closed forms are always ]s in ''m'' of degree ''n''&nbsp;+&nbsp;1. The ]s of these polynomials are closely related to the Bernoulli numbers, in connection with ]: for various fixed values of ''n''. The closed forms are always ]s in ''m'' of degree ''n'' + 1. The ]s of these polynomials are closely related to the Bernoulli numbers, in connection with ]:


:<math>\sum_{k=0}^{m-1} k^n = {1\over{n+1}}\sum_{k=0}^n{n+1\choose{k}} B_k m^{n+1-k}.</math> :<math>\sum_{k=0}^{m-1} k^n = {1\over{n+1}}\sum_{k=0}^n{n+1\choose{k}} B_k m^{n+1-k}.</math>


For example, taking ''n'' to be 1, For example, taking ''n'' to be 1,


:<math> 0 + 1 + 2 + \cdots + (m-1) = \frac{1}{2}\left(B_0 m^2+2B_1 m^1\right) = \frac{1}{2}\left(m^2-m\right).</math> :<math> 0 + 1 + 2 + \cdots + (m-1) = \frac{1}{2}\left(B_0 m^2+2B_1 m^1\right) = \frac{1}{2}\left(m^2-m\right).</math>


===Generating functions=== ===Generating functions===
The Bernoulli numbers may also be defined using ]s. The Bernoulli numbers may also be defined using ]s. Their ] is ''x''/(''e<sup>x</sup>'' − 1), so that:
Their ] is ''x''/(''e<sup>x</sup>''&nbsp;&minus;&nbsp;1), so that:


:<math> :<math>
Line 44: Line 43:
:<math>\sum_{k=0}^{m-1} k^n = \frac{B_{n+1}(m)-B_{n+1}(0)}{n+1},</math> :<math>\sum_{k=0}^{m-1} k^n = \frac{B_{n+1}(m)-B_{n+1}(0)}{n+1},</math>


where ''B''<sub>''n''&nbsp;+&nbsp;1</sub>(''m'') is the (''n''&nbsp;+&nbsp;1)th-degree ]. where ''B''<sub>''n'' + 1</sub>(''m'') is the (''n'' + 1)th-degree ].


Bernoulli numbers may be calculated by using the following ] formula: Bernoulli numbers may be calculated by using the following ] formula:


:<math>\sum_{j=0}^m{m+1\choose{j}}B_j = 0</math> :<math>\sum_{j=0}^m{m+1\choose{j}}B_j = 0</math>


for ''m'' > 0, and ''B''<sub>0</sub> = 1. for ''m'' > 0, and ''B''<sub>0</sub> = 1.


An alternative convention for the Bernoulli numbers is to set ''B''<sub>1</sub> = 1/2 rather than &minus;1/2. If this convention is used, then all the Bernoulli numbers may be calculated by a different ] formula without further qualification: An alternative convention for the Bernoulli numbers is to set ''B''<sub>1</sub> = 1/2 rather than −1/2. If this convention is used, then all the Bernoulli numbers may be calculated by a different ] formula without further qualification:


:<math>\sum_{j=0}^m{m+1\choose{j}}B_j = m+1.</math> :<math>\sum_{j=0}^m{m+1\choose{j}}B_j = m+1.</math>
Line 66: Line 65:
== Values of the Bernoulli numbers == == Values of the Bernoulli numbers ==


''B''<sub>''n''</sub> = 0 for all odd ''n'' other than 1. ''B''<sub>1</sub> = 1/2 or −1/2 depending on the convention adopted (see below). The first few non-zero Bernoulli numbers (sequences and in ]) and some larger ones are listed below.
''B''<sub>''n''</sub> = 0 for all
odd ''n'' other than 1. ''B''<sub>1</sub> = 1/2 or &minus;1/2
depending on the convention adopted (see below).
The first few non-zero Bernoulli numbers (sequences and in ]) and some larger ones are listed below.


<center> <table cellpadding="3" border="1"> <center> <table cellpadding="3" border="1">
Line 144: Line 140:
</table></center> </table></center>


== Efficient computation of Bernoulli numbers == == Efficient computation of Bernoulli numbers ==


In some applications it is useful to be able to compute the Bernoulli numbers ''B''<sub>0</sub> through ''B''<sub>''p''&nbsp;&minus;&nbsp;3</sub> modulo ''p'', where ''p'' is a prime; for example to test whether ] holds for ''p'', or even just to determine whether ''p'' is an ]. It is not feasible to carry out such a computation using the above recursive formulae, since at least (a constant multiple of) ''p''<sup>2</sup> arithmetic operations would be required. Fortunately, faster methods have been developed {{harv|Buhler|Crandall|Ernvall|Metsankyla|2001}} which require only O(''p'' (log ''p'')<sup>2</sup>) operations (see ]). In some applications it is useful to be able to compute the Bernoulli numbers ''B''<sub>0</sub> through ''B''<sub>''p'' − 3</sub> modulo ''p'', where ''p'' is a prime; for example to test whether ] holds for ''p'', or even just to determine whether ''p'' is an ]. It is not feasible to carry out such a computation using the above recursive formulae, since at least (a constant multiple of) ''p''<sup>2</sup> arithmetic operations would be required. Fortunately, faster methods have been developed {{harv|Buhler|Crandall|Ernvall|Metsankyla|2001}} which require only O(''p'' (log ''p'')<sup>2</sup>) operations (see ]).


David Harvey {{harv|Harvey|2008}} describes an algorithm for computing Bernoulli numbers by computing ''B''<sub>''n''</sub> modulo ''p'' for David Harvey {{harv|Harvey|2008}} describes an algorithm for computing Bernoulli numbers by computing ''B''<sub>''n''</sub> modulo ''p'' for
many small primes ''p'', and then reconstructing ''B''<sub>''n''</sub> via the ]. Harvey writes that the ] ] of this algorithm is O(''n''<sup>2</sup> log(''n'')<sup>2+eps</sup>) and claims that this ] is significantly faster than implementations based on other methods. Harvey's implementation is included in ] since version 3.1. Using this implementation Harvey computed ''B''<sub>''n''</sub> for ''n'' = 10<sup>8</sup>, which is a new record (October 2008). Prior to that Bernd Kellner {{harv|Kellner|2002}}<!--A more specific citation would be preferrable.--> computed ''B''<sub>''n''</sub> to full precision for ''n'' = 10<sup>6</sup> on December 2002 and Oleksandr Pavlyk {{harv|Pavlyk|2008}} for ''n'' = 10<sup>7</sup> with 'Mathematica' on April 2008.
many small primes ''p'', and then reconstructing ''B''<sub>''n''</sub> via the ].
Harvey writes that the ] ] of this algorithm
is O(''n''<sup>2</sup> log(''n'')<sup>2+eps</sup>)
and claims that this ] is significantly faster than implementations based on other methods.
Harvey's implementation is included in ] since version 3.1. Using this implementation
Harvey computed ''B''<sub>''n''</sub> for ''n''&nbsp;=&nbsp;10<sup>8</sup>, which is a new record (October 2008).
Prior to that Bernd Kellner {{harv|Kellner|2002}}<!--A more specific citation would be preferrable.--> computed ''B''<sub>''n''</sub> to full precision for ''n''&nbsp;=&nbsp;10<sup>6</sup> on December 2002 and Oleksandr Pavlyk {{harv|Pavlyk|2008}} for ''n''&nbsp;=&nbsp;10<sup>7</sup> with 'Mathematica' on April 2008.


<center> <table cellpadding="3" border="1"> <center> <table cellpadding="3" border="1">
Line 218: Line 208:
</tr> </tr>
<caption>History of the computation of Bernoulli numbers</caption> <caption>History of the computation of Bernoulli numbers</caption>
</table> </table>
</center> </center>
''Digits'' is to be understood as the exponent of 10 when B(n) is written as a real in normalized ]. ''Digits'' is to be understood as the exponent of 10 when B(n) is written as a real in normalized ].
Line 231: Line 221:
</td></tr></table></center> </td></tr></table></center>


The Bernoulli numbers were introduced by Jakob Bernoulli in the book ']' published posthumously in 1713. The main formula can be seen in the second half of the facsimile given above. The constant coefficients denoted ''A'', ''B'', ''C'' and ''D'' by Bernoulli are mapped to the notation which is now prevalent as ''A'' = ''B''<sub>2</sub>, ''B'' = ''B''<sub>4</sub>, ''C'' = ''B''<sub>6</sub>, ''D'' = ''B''<sub>8</sub>. 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 <math>c^{\underline{k}}</math>. The factorial notation ''k''! as a shortcut for 1×2×...×''k'' was introduced not until 100 years later. The integral symbol on the left hand side goes back to ] in 1675 who used it as a long letter ''S'' for "summa" (sum). (The ''Mathematics Genealogy Project'' <ref group="~"> </ref>
The Bernoulli numbers were introduced by Jakob Bernoulli in the book ']' published posthumously in 1713. The main formula can be seen in
shows Leibniz as the doctoral adviser of Jakob Bernoulli. See also the ''Earliest Uses of Symbols of Calculus'' <ref group="~"> </ref>.) The letter ''n'' on the left hand side is not an index of ] but gives the upper limit of the range of summation which is to be understood as 1,2,...,''n''. Putting things together, today a mathematician is likely to write Bernoulli's formula as
the second half of the facsimile given above. The constant coefficients denoted ''A'', ''B'', ''C'' and ''D''
by Bernoulli are mapped to the notation which is now prevalent as
''A''&nbsp;=&nbsp;''B''<sub>2</sub>, ''B''&nbsp;=&nbsp;''B''<sub>4</sub>,
''C''&nbsp;=&nbsp;''B''<sub>6</sub>, ''D''&nbsp;=&nbsp;''B''<sub>8</sub>.
In the expression
''c''·''c''&minus;1·''c''&minus;2·''c''&minus;3 the small dots are used as grouping symbols, not as signs for multiplication. Using today's terminology these expressions are falling factorial powers <math>c^{\underline{k}}</math>. The factorial notation ''k''! as a shortcut for 1×2×...×''k'' was introduced
not until 100 years later. The integral symbol on the left hand side goes back
to ] in 1675 who used it as a long letter ''S'' for "summa" (sum). (The ''Mathematics Genealogy Project''
<ref group="~"> </ref>
shows Leibniz as the doctoral adviser of Jakob Bernoulli. See also the ''Earliest Uses of Symbols of Calculus''
<ref group="~"> </ref>.)
The letter ''n'' on the left hand side is not an index of ] but gives the upper limit of the range of summation which is to be understood as 1,2,...,''n''. Putting things together, today a mathematician is likely to write Bernoulli's formula as


: <math> \sum_{0 < k \leq n} k^{c} = \sum_{k \geq 0}\frac{B_{k}}{k!}c^{\underline{k-1}}n^{c-k+1}\ .</math> : <math> \sum_{0 < k \leq n} k^{c} = \sum_{k \geq 0}\frac{B_{k}}{k!}c^{\underline{k-1}}n^{c-k+1}\ .</math>
Line 251: Line 230:
The Bernoulli numbers can be regarded from four main viewpoints: The Bernoulli numbers can be regarded from four main viewpoints:


* as standalone arithmetical objects,
<ul>
* as combinatorial objects,
<li>
* as values of a sequence of certain polynomials,
as standalone arithmetical objects,
* as values of the Riemann zeta function.
</li><li>
as combinatorial objects,
</li><li>
as values of a sequence of certain polynomials,
</li><li>
as values of the Riemann zeta function.
</li>
</ul>


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


<ul> <ul>
Line 270: Line 241:
''Bernoulli numbers as standalone arithmetical objects.''<br> ''Bernoulli numbers as standalone arithmetical objects.''<br>
Associated sequence: 1/6, −1/30, 1/42, −1/30,... <br> Associated sequence: 1/6, −1/30, 1/42, −1/30,... <br>
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. It is misleading to call this viewpoint &#39;archaic&#39;. For example ] uses it in his highly acclaimed book ''A Course in Arithmetic'' which is a standard textbook used at many universities today.
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.
It is misleading to call this viewpoint &#39;archaic&#39;. For example
] uses it in
his highly acclaimed book ''A Course in Arithmetic'' which
is a standard textbook used at many universities today.
</li> </li>


<li> <li>
''Bernoulli numbers as combinatorial objects.'' <br> ''Bernoulli numbers as combinatorial objects.'' <br>
Associated sequence: 1,&nbsp;+1/2,&nbsp;1/6,&nbsp;0,.... <br> Associated sequence: 1, +1/2, 1/6, 0,.... <br>
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'' σ<sub>''n''</sub>(''x''), formula (6.52) in ''Concrete Mathematics'' by Graham, Knuth and Patashnik.
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'' σ<sub>''n''</sub>(''x''),
formula (6.52) in ''Concrete Mathematics'' by Graham, Knuth and Patashnik.


: <math> \left(\frac{ze^{z}}{e^{z}-1} \right)^{x} = x\sum_{n\geq0}\sigma_{n}(x)z^{n}</math> : <math> \left(\frac{ze^{z}}{e^{z}-1} \right)^{x} = x\sum_{n\geq0}\sigma_{n}(x)z^{n}</math>


In consequence ''B''<sub>''n''</sub>&nbsp;=&nbsp;''n''! σ<sub>''n''</sub>(1) for ''n''&nbsp;&nbsp;0. In consequence ''B''<sub>''n''</sub> = ''n''! σ<sub>''n''</sub>(1) for ''n''  0.
</li> </li>


Line 299: Line 258:
Assuming the Bernoulli polynomials as already introduced Assuming the Bernoulli polynomials as already introduced
the Bernoulli numbers can be defined in two different ways: <br> the Bernoulli numbers can be defined in two different ways: <br>
''B''<sub>''n''</sub>&nbsp;=&nbsp;''B''<sub>''n''</sub>(0). Associated sequence: 1, −1/2, 1/6, 0,.... <br> ''B''<sub>''n''</sub> = ''B''<sub>''n''</sub>(0). Associated sequence: 1, −1/2, 1/6, 0,.... <br>
''B''<sub>''n''</sub>&nbsp;=&nbsp;''B''<sub>''n''</sub>(1). Associated sequence: 1, +1/2, 1/6, 0,....<br> ''B''<sub>''n''</sub> = ''B''<sub>''n''</sub>(1). Associated sequence: 1, +1/2, 1/6, 0,....<br>
The two definitions differ only in the sign of ''B''<sub>1</sub>. The two definitions differ only in the sign of ''B''<sub>1</sub>. The choice ''B''<sub>''n''</sub> = ''B''<sub>''n''</sub>(0) is the convention used in the ''Handbook of Mathematical Functions''.
The choice ''B''<sub>''n''</sub>&nbsp;=&nbsp;''B''<sub>''n''</sub>(0) is the convention used in the ''Handbook of Mathematical Functions''.
</li> </li>


Line 308: Line 266:
''Bernoulli numbers as values of the Riemann zeta function.'' <br> ''Bernoulli numbers as values of the Riemann zeta function.'' <br>
Associated sequence: 1, +1/2, 1/6, 0,.... <br> Associated sequence: 1, +1/2, 1/6, 0,.... <br>
This convention agrees with the convention ''B''<sub>''n''</sub> = ''B''<sub>''n''</sub>(1) (for example J. Neukirch and M. Kaneko). The sign &#39;+&#39; for ''B''<sub>''1''</sub> matches the representation of the Bernoulli numbers by the Riemann zeta function. In fact the identity ''n''ζ(1−''n'') = (−1)<sup>''n''+1</sup>''B''<sub>''n''</sub> valid for all ''n'' &gt; 0 is then replaced by the simpler ''n''ζ(1−''n'') = −''B''<sub>''n''</sub>. (See the paper of S. C. Woon.)
This convention agrees with the convention ''B''<sub>''n''</sub>&nbsp;=&nbsp;''B''<sub>''n''</sub>(1)
(for example J. Neukirch and M. Kaneko).
The sign &#39;+&#39; for ''B''<sub>''1''</sub> matches the representation
of the Bernoulli numbers by the Riemann zeta function.
In fact the identity ''n''ζ(1−''n'')&nbsp;=&nbsp;(−1)<sup>''n''+1</sup>''B''<sub>''n''</sub>
valid for all ''n''&nbsp;&gt;&nbsp;0 is then replaced by the simpler
''n''ζ(1−''n'')&nbsp;=&nbsp;−''B''<sub>''n''</sub>. (See the paper of S. C. Woon.)
</li> </li>
</ul> </ul>


<center> <center>
{| border="5" cellspacing="5" cellpadding="2" {| border="5" cellspacing="5" cellpadding="2"
| <math> \ B_n = n!\sigma_{n}(1) = B_n(1) = -n\zeta(1-n) \quad (n \geq 0) \ </math> | <math> \ B_n = n!\sigma_{n}(1) = B_n(1) = -n\zeta(1-n) \quad (n \geq 0) \ </math>
|- |-
|} |}
</center> </center>
:(Note that in the foregoing equation for ''n''&nbsp;=&nbsp;0 and ''n''&nbsp;=&nbsp;1 the expression −''n''ζ(1&nbsp;&nbsp;''n'') is to be understood as lim<sub>''x''&nbsp;&nbsp;''n''</sub>&nbsp;−''x''ζ(1&nbsp;&nbsp;''x'').) :(Note that in the foregoing equation for ''n'' = 0 and ''n'' = 1 the expression −''n''ζ(1  ''n'') is to be understood as lim<sub>''x''  ''n''</sub> −''x''ζ(1  ''x'').)


== Application of the Bernoulli number == == Application of the Bernoulli number ==
Line 336: Line 288:
: <math> \sum\limits_{a<k\leq 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) \ . </math> : <math> \sum\limits_{a<k\leq 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) \ . </math>


Here ''f''<sup>(0)</sup> = ''f'' which is a commonly used notation identifying the zero-th derivative of ''f'' with ''f''. Moreover, let ''f''<sup>(-1)</sup> denote Here ''f''<sup>(0)</sup> = ''f'' which is a commonly used notation identifying the zero-th derivative of ''f'' with ''f''. Moreover, let ''f''<sup>(-1)</sup> denote an ] of ''f''. By the ] <math>\int_{a}^{b}f(x)dx\ = f^{(-1)}(b) - f^{(-1)}(a)</math>. Thus the last formula can be further simplified to the following succinct form of the Euler-Maclaurin formula
an ] of ''f''. By the ]
<math>\int_{a}^{b}f(x)dx\ = f^{(-1)}(b) - f^{(-1)}(a)</math> . Thus the last formula can be further simplified to the following succinct form of the Euler-Maclaurin formula


: <math> \sum\limits_{a<k\leq 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) \ . </math> : <math> \sum\limits_{a<k\leq 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) \ . </math>


This form is for example the source for the important Euler-MacLaurin expansion of the zeta function This form is for example the source for the important Euler-MacLaurin expansion of the zeta function


: <math> \begin{align} : <math> \begin{align}
\zeta(s)& =\sum_{k=0}^{m}\frac{{B}_{k}}{k!} s^{\overline{k-1}} + R(s,m) \\ \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{{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) \ . \\ & =\frac{1}{s-1}+\frac{1}{2}+\frac{1}{12}s +\cdots+R(s,m) \ . \\
\end{align} </math> \end{align} </math>


Here <math>s^{\overline{k}}</math> denotes the rising factorial power Here <math>s^{\overline{k}}</math> denotes the rising factorial power <ref group="~">''Concrete Mathematics'', (2.44) and (2.52)</ref>.
<ref group="~">''Concrete Mathematics'', (2.44) and (2.52)</ref>.


==Combinatorial definitions== ==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 ].
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 ].


=== Connection with the Worpitzky number === === Connection with the Worpitzky number ===


The definition to proceed with was developed by Julius 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''<sup>''m''</sup> is employed. The signless Worpitzky numbers are defined as
Worpitzky in 1883. Besides elementary arithmetic only the factorial function ''n''! and the power function ''k''<sup>''m''</sup> is employed.
The signless Worpitzky numbers are defined as


: <math> W_{n,k}=\sum_{v=0}^{k}(-1)^{v+k} \left(v+1\right)^{n} \frac{k!}{v!(k-v)!} \ . </math> : <math> W_{n,k}=\sum_{v=0}^{k}(-1)^{v+k} \left(v+1\right)^{n} \frac{k!}{v!(k-v)!} \ . </math>
Line 370: Line 316:
: <math> W_{n,k}=k! \left\{\begin{matrix} n+1 \\ k+1 \end{matrix}\right\}.</math> : <math> W_{n,k}=k! \left\{\begin{matrix} n+1 \\ k+1 \end{matrix}\right\}.</math>


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


: <math> B_{n}=\sum_{k=0}^{n}(-1)^{k}\frac{W_{n,k}}{k+1} \ . </math> : <math> B_{n}=\sum_{k=0}^{n}(-1)^{k}\frac{W_{n,k}}{k+1} \ . </math>
Line 380: Line 325:
<tr> <tr>
<td>''B''<sub>0</sub></td> <td>''B''<sub>0</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1/1</td> <td>1/1</td>
</tr> </tr>
<tr> <tr>
<td>''B''<sub>1</sub></td> <td>''B''<sub>1</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1/1&nbsp;&nbsp;1/2</td> <td>1/1  1/2</td>
</tr> </tr>
<tr> <tr>
<td>''B''<sub>2</sub></td> <td>''B''<sub>2</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1/1&nbsp;&nbsp;3/2&nbsp;+&nbsp;2/3</td> <td>1/1  3/2 + 2/3</td>
</tr> </tr>
<tr> <tr>
<td>''B''<sub>3</sub></td> <td>''B''<sub>3</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1/1&nbsp;&nbsp;7/2&nbsp;+&nbsp;12/3&nbsp;&nbsp;6/4</td> <td>1/1  7/2 + 12/3  6/4</td>
</tr> </tr>
<tr> <tr>
<td>''B''<sub>4</sub></td> <td>''B''<sub>4</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1/1&nbsp;&nbsp;15/2&nbsp;+&nbsp;50/3&nbsp;&nbsp;60/4&nbsp;+&nbsp;24/5</td> <td>1/1  15/2 + 50/3  60/4 + 24/5</td>
</tr> </tr>
<tr> <tr>
<td>''B''<sub>5</sub></td> <td>''B''<sub>5</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1/1&nbsp;&nbsp;31/2&nbsp;+&nbsp;180/3&nbsp;&nbsp;390/4&nbsp;+&nbsp;360/5&nbsp;&nbsp;120/6</td> <td>1/1  31/2 + 180/3  390/4 + 360/5  120/6</td>
</tr> </tr>
<tr> <tr>
<td>''B''<sub>6</sub></td> <td>''B''<sub>6</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1/1&nbsp;&nbsp;63/2&nbsp;+&nbsp;602/3&nbsp;&nbsp;2100/4&nbsp;+&nbsp;3360/5&nbsp;&nbsp;2520/6&nbsp;+&nbsp;720/7</td> <td>1/1  63/2 + 602/3  2100/4 + 3360/5  2520/6 + 720/7</td>
</tr> </tr>
</table></center> </table></center>


This representation has ''B''<sub>1</sub>&nbsp;=&nbsp;1/2. This representation has ''B''<sub>1</sub> = 1/2.


=== Connection with the Stirling set number === === Connection with the Stirling set number ===
Line 424: Line 369:
\left\{\begin{matrix} n \\ k \end{matrix}\right\} \ . </math> \left\{\begin{matrix} n \\ k \end{matrix}\right\} \ . </math>


Here the Bernoulli numbers are an inclusion-exclusion over the set Here the Bernoulli numbers are an inclusion-exclusion over the set of length-''n'' words, where the sum is taken over all words of length ''n'' with ''k'' distinct letters, and normalized by ''k'' + 1. The combinatorics of this representation can be seen from:
of length-''n'' words, where the sum is taken over all words of length ''n'' with
''k'' distinct letters, and normalized by ''k''&nbsp;+&nbsp;1.
The combinatorics of this representation can be seen from:


: <math> B_{0}= +\left\vert \ \left\{ \varnothing \right\} \ \right\vert </math> : <math> B_{0}= +\left\vert \ \left\{ \varnothing \right\} \ \right\vert </math>
Line 439: Line 381:
=== Connection with the Stirling cycle number === === Connection with the Stirling cycle number ===


Let <math>\left</math> denote the signless ]. The two main formulas relating these number to the Bernoulli number (''B''<sub>1</sub>&nbsp;=&nbsp;1/2) are Let <math>\left</math> denote the signless ]. The two main formulas relating these number to the Bernoulli number (''B''<sub>1</sub> = 1/2) are


: <math> \frac{1}{m!}\sum_{k=0}^{m}(-1)^{k} : <math> \frac{1}{m!}\sum_{k=0}^{m}(-1)^{k} \left B_{k}=\frac{1}{m+1}\ , </math>
\left
B_{k}=\frac{1}{m+1}\ , </math>


and the inversion of this sum (for ''n''&nbsp;&nbsp;0, ''m''&nbsp;&nbsp;0) and the inversion of this sum (for ''n''  0, ''m''  0)


: <math> \frac{1}{m!}\sum_{k=0}^{m}(-1)^{k} : <math> \frac{1}{m!}\sum_{k=0}^{m}(-1)^{k} \left B_{n+k} = A_{n,m} \ . </math>
\left
B_{n+k} = A_{n,m} \ . </math>


Here the number ''A''<sub>''n'',''m''</sub> are the rational Akiyama-Tanigawa number, the first few of which are displayed in the following table. Here the number ''A''<sub>''n'',''m''</sub> are the rational Akiyama-Tanigawa number, the first few of which are displayed in the following table.
Line 468: Line 406:
</tr><tr> </tr><tr>
<td style="background: rgb(217, 222, 205); line-height: 1.5em; text-align: center;">1</td> <td style="background: rgb(217, 222, 205); line-height: 1.5em; text-align: center;">1</td>
<td align="center">1/2</td><td align="center">1/3</td><td align="center">1/4</td><td align="center">1/5</td><td align="center">...</td> <td align="center">1/2</td><td align="center">1/3</td><td align="center">1/4</td><td align="center">1/5</td><td align="center">...</td>
</tr><tr> </tr><tr>
<td style="background: rgb(217, 222, 205); line-height: 1.5em; text-align: center;">2</td> <td style="background: rgb(217, 222, 205); line-height: 1.5em; text-align: center;">2</td>
Line 480: Line 418:
</tr></table></center> </tr></table></center>


These relations lead to a simple algorithm to compute the Bernoulli number. The input is the the first row,&nbsp; ''A''<sub>0,''m''</sub>&nbsp;=&nbsp;1/(''m''&nbsp;+&nbsp;1) and the output are the Bernoulli number in the first column ''A''<sub>''n'',0</sub>&nbsp;= ''B''<sub>''n''</sub> . This transformation is shown in pseudo-code below. These relations lead to a simple algorithm to compute the Bernoulli number. The input is the the first row, ''A''<sub>0,''m''</sub> = 1/(''m'' + 1) and the output are the Bernoulli number in the first column ''A''<sub>''n'',0</sub> = ''B''<sub>''n''</sub> . This transformation is shown in pseudo-code below.


<table align="center" style="border: 3px solid rgb(217, 222, 205);"> <table align="center" style="border: 3px solid rgb(217, 222, 205);">
Line 488: Line 426:
For ''m'' from 0 by 1 to ''n'' do For ''m'' from 0 by 1 to ''n'' do
<table><tr> <table><tr>
<td>&nbsp;&nbsp;&nbsp;</td> <td>   </td>
<td >''A''&nbsp;&nbsp;1/(''m''&nbsp;+&nbsp;1)</td> <td >''A''  1/(''m'' + 1)</td>
</tr><tr> </tr><tr>
<td>&nbsp;&nbsp;&nbsp;</td> <td>   </td>
<td >For ''j'' from ''m'' by &minus;1 to 1 do</td> <td >For ''j'' from ''m'' by −1 to 1 do</td>
</tr><tr> </tr><tr>
<td>&nbsp;&nbsp;&nbsp;</td> <td>   </td>
<td ><table><tr> <td ><table><tr>
<td>&nbsp;&nbsp;&nbsp;</td> <td>   </td>
<td>''A''&nbsp;&nbsp;j&nbsp;&times;&nbsp;(''A''&nbsp;&minus;&nbsp;''A'')</td></tr> <td>''A''  j × (''A'' − ''A'')</td></tr>
</table></td></tr></table> </table></td></tr></table>
Return ''A''&nbsp; (which is ''B''<sub>''n''</sub>).</td></tr> Return ''A''  (which is ''B''<sub>''n''</sub>).</td></tr>
</table></center> </table></center>


=== Connection with the Eulerian number === === Connection with the Eulerian number ===


The ] are the number of permutations of {1,2,...,''n''} with ''m'' ascents. The ] are the number of permutations of {1,2,...,''n''} with ''m'' ascents. They were introduced by Leonhard Euler in 1755 and in the notation of D. E. Knuth <ref group="~">''Concrete Mathematics'', Table 254 Euler's triangle.</ref> written as <math> \left \langle {n\atop m} \right \rangle .</math> The two main formulas connecting the Eulerian number to the Bernoulli number are:
They were introduced by Leonhard Euler in 1755 and in the notation of D. E. Knuth
<ref group="~">''Concrete Mathematics'', Table 254 Euler's triangle.</ref> written as
<math> \left \langle {n\atop m} \right \rangle .</math>
The two main formulas connecting the Eulerian number to the Bernoulli number are


:<math>\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} \ ,</math> :<math>\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} \ ,</math>
Line 514: Line 448:
:<math>\sum_{m=0}^{n}(-1)^{m} {\left \langle {n\atop m} \right \rangle} {\binom{n}{m}}^{-1} = (n+1) B_{n} \ .</math> :<math>\sum_{m=0}^{n}(-1)^{m} {\left \langle {n\atop m} \right \rangle} {\binom{n}{m}}^{-1} = (n+1) B_{n} \ .</math>


Both formulas are valid for ''n''&nbsp;&nbsp;0 if ''B''<sub>1</sub> is set to 1/2. If ''B''<sub>1</sub> is set to &minus;1/2 they are valid only for ''n''&nbsp;&nbsp;1 and ''n''&nbsp;&nbsp;2 respectively. Both formulas are valid for ''n''  0 if ''B''<sub>1</sub> is set to 1/2. If ''B''<sub>1</sub> is set to −1/2 they are valid only for ''n''  1 and ''n''  2 respectively.


==Asymptotic approximation== ==Asymptotic approximation==
Line 528: Line 462:
==Integral representation and continuation== ==Integral representation and continuation==


The ] The ]


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


has as special values ''b''(2''n'') = ''B''<sub>2''n''</sub> for ''n''&nbsp;&gt;&nbsp;0. The integral might be considered as a continuation of the Bernoulli numbers to the ] and this was indeed suggested by Peter Luschny in 2004.{{Fact|date=December 2008}} has as special values ''b''(2''n'') = ''B''<sub>2''n''</sub> for ''n'' &gt; 0. The integral might be considered as a continuation of the Bernoulli numbers to the ] and this was indeed suggested by Peter Luschny in 2004.{{Fact|date=December 2008}}


For example ''b''(3) = (3/2)ζ(3)Π<sup>&minus;3</sup>Ι and ''b''(5) = &minus;(15/2)&nbsp;''ζ''(5)&nbsp;Π<sup>&nbsp;&minus;5</sup>Ι. For example ''b''(3) = (3/2)ζ(3)Π<sup>−3</sup>Ι and ''b''(5) = (15/2) ''ζ''(5) Π<sup> −5</sup>Ι. Here ''ζ''(''n'') denotes the ] and Ι the ]. It is remarkable that already Leonhard Euler (''Opera Omnia'', Ser. 1, Vol. 10, p. 351) considered these numbers and calculated
Here ''ζ''(''n'') denotes the ] and Ι the ].
It is remarkable that already Leonhard Euler (''Opera Omnia'', Ser. 1, Vol. 10, p. 351) considered these numbers and calculated


: <math> p = \frac{3}{2\pi^3}\left(1+\frac{1}{2^3}+\frac{1}{3^3}+\text{etc.}\ \right) = 0.0581522\ldots \ , </math> : <math> p = \frac{3}{2\pi^3}\left(1+\frac{1}{2^3}+\frac{1}{3^3}+\text{etc.}\ \right) = 0.0581522\ldots \ , </math>


: <math> q = \frac{15}{2\pi^{5}}\left(1+\frac{1}{2^5}+\frac{1}{3^5}+\text{etc.}\ \right) = 0.0254132\ldots \ . </math> : <math> q = \frac{15}{2\pi^{5}}\left(1+\frac{1}{2^5}+\frac{1}{3^5}+\text{etc.}\ \right) = 0.0254132\ldots \ . </math>


Euler's values are unsigned and real, but obviously his aim was to find a meaningful way to define the Bernoulli numbers at the odd integers ''n''&nbsp;&gt;&nbsp;1. Euler's values are unsigned and real, but obviously his aim was to find a meaningful way to define the Bernoulli numbers at the odd integers ''n'' &gt; 1.


==The relation to the Euler numbers and ''&pi;'' == ==The relation to the Euler numbers and ''π'' ==


The ] are a sequence of integers intimately The ] 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 ''E''<sub>2''n''</sub> are in magnitude approximately (2/π)(4<sup>2''n''</sup> − 2<sup>2''n''</sup>) times larger than the Bernoulli numbers ''B''<sub>2''n''</sub>. In consequence:
connected with the Bernoulli numbers. Comparing the
asymptotic expansions of the Bernoulli and the Euler
numbers shows that the Euler numbers ''E''<sub>2''n''</sub> are in
magnitude approximately (2/π)(4<sup>2''n''</sup>&nbsp;&minus;&nbsp;2<sup>2''n''</sup>)
times larger than the Bernoulli numbers ''B''<sub>2''n''</sub>. In consequence


: <math> \pi \ \sim \ 2 \left(2^{2n} - 4^{2n} \right) \frac{B_{2n}}{E_{2n}} \ . </math> : <math> \pi \ \sim \ 2 \left(2^{2n} - 4^{2n} \right) \frac{B_{2n}}{E_{2n}} \ . </math>
Line 557: Line 485:
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. 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 Bernoulli numbers can be expressed through the Euler numbers and vice versa. Since for ''n'' odd ''B''<sub>''n''</sub> = ''E''<sub>''n''</sub> = 0 (with the exception ''B''<sub>1</sub>), it suffices to regard the case when ''n'' is even.
numbers and vice versa. Since for ''n'' odd ''B''<sub>''n''</sub> =
''E''<sub>''n''</sub> = 0 (with the exception ''B''<sub>1</sub>),
it suffices to regard the case when ''n'' is even.


: <math> 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) </math> : <math> 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) </math>
Line 566: Line 491:
: <math> E_{n}=\sum_{k=1}^{n}\binom{n}{k-1}\frac{2^k-4^k}{k} B_{k} \quad (n=2,4,6,\ldots). </math> : <math> E_{n}=\sum_{k=1}^{n}\binom{n}{k-1}\frac{2^k-4^k}{k} B_{k} \quad (n=2,4,6,\ldots). </math>


These conversion formulas express an ] between the These conversion formulas express an ] 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
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


: <math> 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) </math> : <math> 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) </math>
Line 578: Line 499:
: <math> 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 </math> : <math> 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 </math>


The Bernoulli numbers and Euler numbers are best understood as The Bernoulli numbers and Euler numbers are best understood as ''special views'' of these numbers, selected from the sequence ''S''<sub>''n''</sub> and scaled for use in special applications.
''special views'' of these numbers, selected from the sequence
''S''<sub>''n''</sub> and scaled for use in special applications.


: <math> B_{n} =(-1)^{\left\lfloor n/2\right\rfloor }\left \frac{n! }{2^n-4^n}\, S_{n}\ , \quad (n=2,3,\ldots) \ , </math> : <math> B_{n} =(-1)^{\left\lfloor n/2\right\rfloor }\left \frac{n! }{2^n-4^n}\, S_{n}\ , \quad (n=2,3,\ldots) \ , </math>
Line 586: Line 505:
: <math> E_{n} =(-1)^{\left\lfloor n/2\right\rfloor }\left n! \, S_{n+1} \quad\qquad (n=0,1,\ldots) \ . </math> : <math> E_{n} =(-1)^{\left\lfloor n/2\right\rfloor }\left n! \, S_{n+1} \quad\qquad (n=0,1,\ldots) \ . </math>


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


These identities show that the quotient of Bernoulli and Euler numbers at the beginning of this section is just the special case of ''R''<sub>n</sub> = 2 ''S''<sub>''n''</sub> / ''S''<sub>''n''+1</sub> when ''n'' is even. The ''R''<sub>''n''</sub> are rational approximations to ''π'' and two successive terms always enclose the true value of ''π''. Beginning with ''n'' = 1 the sequence starts
These identities show that the quotient of Bernoulli and Euler numbers
at the beginning of this section is just the special case of
''R''<sub>n</sub> = 2 ''S''<sub>''n''</sub> / ''S''<sub>''n''+1</sub>
when ''n'' is even. The ''R''<sub>''n''</sub> are rational
approximations to ''π'' and two successive terms always enclose
the true value of ''π''. Beginning with ''n'' = 1 the sequence starts


: <math> 2, 4, 3, \frac{16}{5}, \frac{25}{8}, \frac{192}{61}, \frac{427}{136}, \frac{4352}{1385},\ldots \quad \longrightarrow \pi \ . </math> : <math> 2, 4, 3, \frac{16}{5}, \frac{25}{8}, \frac{192}{61}, \frac{427}{136}, \frac{4352}{1385},\ldots \quad \longrightarrow \pi \ . </math>


These rational numbers also appear in the last paragraph of Euler's These rational numbers also appear in the last paragraph of Euler's paper cited above. But it was only in September 2007 that this classical sequence found its way into the Encyclopedia of Integer Sequences (A132049).
paper cited above. But it was only in September 2007 that this classical
sequence found its way into the Encyclopedia of Integer Sequences (A132049).


==An algorithmic view: the Seidel triangle== ==An algorithmic view: the Seidel triangle==


The sequence ''S''<sub>''n''</sub> has another unexpected yet important property: The denominators of ''S''<sub>''n''</sub> divide the factorial (''n''&nbsp;&minus;&nbsp;1)<nowiki>!</nowiki>. In other words: the numbers ''T''<sub>''n''</sub>&nbsp;=&nbsp;''S''<sub>''n''</sub>(''n''&nbsp;&minus;&nbsp;1)! are integers. The sequence ''S''<sub>''n''</sub> has another unexpected yet important property: The denominators of ''S''<sub>''n''</sub> divide the factorial (''n'' − 1)<nowiki>!</nowiki>. In other words: the numbers ''T''<sub>''n''</sub> = ''S''<sub>''n''</sub>(''n'' − 1)! are integers.


: <math> T_{n} = 1,1,1,2,5,16,61,272,1385,7936,50521,353792,\ldots \quad (n=1,2,\ldots) </math> : <math> T_{n} = 1,1,1,2,5,16,61,272,1385,7936,50521,353792,\ldots \quad (n=1,2,\ldots) </math>
Line 614: Line 525:
: <math> E_{n} =(-1)^{\left\lfloor n/2\right\rfloor }\left T_{n+1} \quad\quad\qquad(n=0,1,\ldots) \ . </math> : <math> E_{n} =(-1)^{\left\lfloor n/2\right\rfloor }\left T_{n+1} \quad\quad\qquad(n=0,1,\ldots) \ . </math>


These identities make it easy to compute the Bernoulli and Euler numbers: the Euler numbers ''E''<sub>''n''</sub> are given immediately by ''T''<sub>2''n''&nbsp;+&nbsp;1</sub> and the Bernoulli numbers ''B''<sub>2''n''</sub> are obtained from ''T''<sub>2''n''</sub> by some easy shifting, avoiding rational arithmetic. These identities make it easy to compute the Bernoulli and Euler numbers: the Euler numbers ''E''<sub>''n''</sub> are given immediately by ''T''<sub>2''n'' + 1</sub> and the Bernoulli numbers ''B''<sub>2''n''</sub> are obtained from ''T''<sub>2''n''</sub> by some easy shifting, avoiding rational arithmetic.


What remains is to find a convenient way to compute the numbers ''T''<sub>''n''</sub>. However, already in 1877 ] published an ingenious algorithm which makes it extremely simple to calculate ''T''<sub>''n''</sub>. What remains is to find a convenient way to compute the numbers ''T''<sub>''n''</sub>. However, already in 1877 ] published an ingenious algorithm which makes it extremely simple to calculate ''T''<sub>''n''</sub>.
Line 624: Line 535:
</td></tr></table></center> </td></tr></table></center>


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''&nbsp;&minus;&nbsp;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. 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.


Seidel's algorithm is in fact much more general (see the exposition of Dominique Dumont (1981)) and was rediscovered several times thereafter. Seidel's algorithm is in fact much more general (see the exposition of Dominique Dumont (1981)) and was rediscovered several times thereafter.
Line 635: Line 546:
{{main|Alternating permutations}} {{main|Alternating permutations}}


Around 1880, three years after the publication of Seidel's Around 1880, three years after the publication of Seidel's algorithm, ] proved a now classic result of combinatorial analysis. Looking at the first terms of the Taylor expansion of the ]
algorithm, ] proved a now classic result of
combinatorial analysis. Looking at the first terms of the
Taylor expansion of the ]
tan ''x'' and sec ''x'' André made a startling discovery. tan ''x'' and sec ''x'' André made a startling discovery.


Line 645: Line 553:
: <math> \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 </math> : <math> \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 </math>


The coefficients are the Euler numbers of odd and even index, respectively. In consequence the ordinary expansion of tan&nbsp;''x''&nbsp;+&nbsp;sec&nbsp;''x'' has as coefficients the rational numbers ''S''<sub>''n''</sub>. 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 ''S''<sub>''n''</sub>.


: <math> \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 </math> : <math> \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 </math>
Line 653: Line 561:
==Generalizations by polynomials== ==Generalizations by polynomials==


The ] can be regarded as generalizations of the Bernoulli numbers the same as the Euler polynomials are generalizations of the Euler numbers. The ] can be regarded as generalizations of the Bernoulli numbers the same as the Euler polynomials are generalizations of the Euler numbers.


==Arithmetical properties of the Bernoulli numbers== ==Arithmetical properties of the Bernoulli numbers==


The Bernoulli numbers can be expressed in terms of the Riemann zeta function as ''B''<sub>''n''</sub> = − ''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 B<sub>1</sub> = 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, a fact discovered by ] in his work on ].
The Bernoulli numbers can be expressed in terms of the Riemann zeta function as
''B''<sub>''n''</sub> = &minus; ''n''ζ(1 &minus; ''n'')
for integers ''n'' ≥ 0 provided for ''n'' = 0 and ''n'' = 1
the expression &minus; ''n''ζ(1 &minus; ''n'') is understood as
the limiting value and the convention B<sub>1</sub> = 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, a
fact discovered by ] in his work on ].


Divisibility properties of the Bernoulli numbers are related to the ]s of ]s by a theorem of Kummer and its strengthening in the ], and to class numbers of real quadratic fields by ]. We also have a relationship to ]; if ''c''<sub>''n''</sub> is the numerator of ''B''<sub>''n''</sub>/2''n'', then the order of <math>K_{4n-2}(\Bbb{Z})</math> is &minus;''c''<sub>2''n''</sub> if ''n'' is even, and 2''c''<sub>2''n''</sub> if ''n'' is odd. Divisibility properties of the Bernoulli numbers are related to the ]s of ]s by a theorem of Kummer and its strengthening in the ], and to class numbers of real quadratic fields by ]. We also have a relationship to ]; if ''c''<sub>''n''</sub> is the numerator of ''B''<sub>''n''</sub>/2''n'', then the order of <math>K_{4n-2}(\Bbb{Z})</math> is ''c''<sub>2''n''</sub> if ''n'' is even, and 2''c''<sub>2''n''</sub> if ''n'' is odd.


The ] postulates that ''p'' is a prime number if and only if ''pB''<sub>''p''&minus;1</sub> is congruent to &minus;1 mod ''p''. The ] postulates that ''p'' is a prime number if and only if ''pB''<sub>''p''−1</sub> is congruent to −1 mod ''p''.


=== Von Staudt-Clausen theorem === === Von Staudt-Clausen theorem ===


The von Staudt-Clausen theorem was given by ] and ] The von Staudt-Clausen theorem was given by ] and ] independently in 1840. It describes the arithmetical structure of the Bernoulli numbers.
independently in 1840. It describes the arithmetical
structure of the Bernoulli numbers.


The von Staudt-Clausen theorem has two parts. The The von Staudt-Clausen theorem has two parts. The first one describes how the denominators of the
Bernoulli numbers can be computed. Paraphrasing the words of Clausen it can be stated as:
first one describes how the denominators of the
Bernoulli numbers can be computed. Paraphrasing
the words of Clausen it can be stated as:


<p style="margin-left:40px">The denominator of the 2n-th Bernoulli number can be found as follows: Add to all divisors of 2''n'', 1,2,a,a',...,2''n'' the unity, which gives the sequence 2,3,a+1,a'+1,...,2''n''+1. Select from this sequence only the prime numbers 2,3,p,p', etc. and build their product.</p>
<p style="margin-left:40px">The denominator of the 2n-th
Bernoulli number can be found as follows: Add to all divisors
of 2''n'', 1,2,a,a',...,2''n'' the unity, which gives the
sequence 2,3,a+1,a'+1,...,2''n''+1. Select from this sequence
only the prime numbers 2,3,p,p', etc. and build their product.</p>


Clausen's algorithm translates almost verbatim to a modern computer algebra program, which looks similar to the pseudocode on the left hand site of the following table. On the right hand side the computation is traced for the input ''n'' = 88. It shows that the denominator of ''B''<sub>88</sub> is 61410. 
Clausen's algorithm translates almost verbatim
to a modern computer algebra program, which looks similar
to the pseudocode on the left hand site of the following
table. On the right hand side the computation is traced for
the input ''n''&nbsp;=&nbsp;88. It shows that the denominator of
''B''<sub>88</sub> is 61410.&nbsp;


<center><table style="border: 3px solid #D9DECD;" > <center><table style="border: 3px solid #D9DECD;" >
Line 699: Line 587:
<tr> <tr>
<td>Clausen: function(integer ''n'')</td> <td>Clausen: function(integer ''n'')</td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td> <td>  |  </td>
<td>''n'' = 88</td> <td>''n'' = 88</td>
</tr> <tr> </tr> <tr>
<td>S = divisors(''n'');</td> <td>S = divisors(''n'');</td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td> <td>  |  </td>
<td>{1, 2, 4, 8, 11, 22, 44, 88}</td> <td>{1, 2, 4, 8, 11, 22, 44, 88}</td>
</tr> <tr> </tr> <tr>
<td>S = map(''k'' → ''k''+1, S);</td> <td>S = map(''k'' → ''k''+1, S);</td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td> <td>  |  </td>
<td>{2, 3, 5, 9, 12, 23, 45, 89}</td> <td>{2, 3, 5, 9, 12, 23, 45, 89}</td>
</tr> <tr> </tr> <tr>
<td>S = select(isprime, S);</td> <td>S = select(isprime, S);</td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td> <td>  |  </td>
<td>{2, 3, 5, 23, 89}</td> <td>{2, 3, 5, 23, 89}</td>
</tr> <tr> </tr> <tr>
<td>return product(S);</td> <td>return product(S);</td>
<td>&nbsp;&nbsp;|&nbsp;&nbsp;</td> <td>  |  </td>
<td>61410</td> <td>61410</td>
</tr> </tr>
</table></center> </table></center>


The second part of the von Staudt-Clausen theorem is a The second part of the von Staudt-Clausen theorem is a very remarkable representation of the Bernoulli numbers. This representation is given for the first few nonzero Bernoulli numbers in the next table.
very remarkable representation of the Bernoulli numbers. This representation
is given for the first few nonzero Bernoulli numbers in
the next table.


<center> <center>
Line 731: Line 616:
<tr> <tr>
<td>''B''<sub>0</sub></td> <td>''B''<sub>0</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1</td> <td>1</td>
</tr> <tr> </tr> <tr>
<td>''B''<sub>1</sub></td> <td>''B''<sub>1</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1&nbsp;&nbsp;1/2</td> <td>1  1/2</td>
</tr> <tr> </tr> <tr>
<td>''B''<sub>2</sub></td> <td>''B''<sub>2</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1&nbsp;&nbsp;1/2&nbsp;&nbsp;1/3</td> <td>1  1/2  1/3</td>
</tr> <tr> </tr> <tr>
<td>''B''<sub>4</sub></td> <td>''B''<sub>4</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1&nbsp;&nbsp;1/2&nbsp;&nbsp;1/3&nbsp;&nbsp;1/5</td> <td>1  1/2  1/3  1/5</td>
</tr> <tr> </tr> <tr>
<td>''B''<sub>6</sub></td> <td>''B''<sub>6</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1&nbsp;&nbsp;1/2&nbsp;&nbsp;1/3&nbsp;&nbsp;1/7</td> <td>1  1/2  1/3  1/7</td>
</tr> <tr> </tr> <tr>
<td>''B''<sub>8</sub></td> <td>''B''<sub>8</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1&nbsp;&nbsp;1/2&nbsp;&nbsp;1/3&nbsp;&nbsp;1/5</td> <td>1  1/2  1/3  1/5</td>
</tr> <tr> </tr> <tr>
<td>''B''<sub>10</sub></td> <td>''B''<sub>10</sub></td>
<td>&nbsp;=&nbsp;</td> <td> = </td>
<td>1&nbsp;&nbsp;1/2&nbsp;&nbsp;1/3&nbsp;&nbsp;1/11</td> <td>1  1/2  1/3  1/11</td>
</tr> </tr>
</table></center> </table></center>
Line 764: Line 649:
: <math> B_{n}=\frac{I_n}{2} - \sum_{(p-1)|n} \frac1p \quad (n\geq0)\ . </math> : <math> B_{n}=\frac{I_n}{2} - \sum_{(p-1)|n} \frac1p \quad (n\geq0)\ . </math>


The sum is over the primes ''p'' for which ''p''−1 divides ''n''. These are the same primes which are employed in the Clausen algorithm. The proposition holds true for ''all'' ''n'' ≥ 0, not only for even ''n''. ''I''<sub>1</sub> = 2 and for odd ''n'' &gt; 1, ''I''<sub>''n''</sub> = 1.
The sum is over the primes ''p'' for which ''p''−1
divides ''n''. These are the same primes which are employed
in the Clausen algorithm. The proposition holds true for
''all'' ''n''&nbsp;≥&nbsp;0, not only for even ''n''.
''I''<sub>1</sub>&nbsp;=&nbsp;2 and for odd ''n''&nbsp;&gt;&nbsp;1
''I''<sub>''n''</sub>&nbsp;=&nbsp;1.


Consequences of the von Staudt-Clausen theorem are: the denominators of the Bernoulli numbers are square-free and for ''n'' >= 2 divisible by 6. Consequences of the von Staudt-Clausen theorem are: the denominators of the Bernoulli numbers are square-free and for ''n'' 2 divisible by 6.


=== Why do the odd Bernoulli numbers vanish? === === Why do the odd Bernoulli numbers vanish? ===
The sum The sum
:<math>\phi_k(n) = \sum_{i=0}^n i^k - \frac{n^k}{2}</math> :<math>\phi_k(n) = \sum_{i=0}^n i^k - \frac{n^k}{2}</math>
can be evaluated for negative values of the index ''n''. Doing so will show that it is an ] 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 ''B''<sub>2''k''+1−''m''</sub> is 0 for ''m'' odd and greater than 1; and that the term for ''B''<sub>1</sub> 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''&nbsp;&gt;&nbsp;1). can be evaluated for negative values of the index ''n''. Doing so will show that it is an ] 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 ''B''<sub>2''k''+1−''m''</sub> is 0 for ''m'' odd and greater than 1; and that the term for ''B''<sub>1</sub> 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'' &gt; 1).


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


: <math> 2B_{n}=\sum_{m=0}^{n}\left(-1\right)^{m}\frac{2}{m+1}m! : <math> 2B_{n}=\sum_{m=0}^{n}\left(-1\right)^{m}\frac{2}{m+1}m!
Line 788: Line 664:
=0\quad\left(n>1\ \text{odd}\right) </math> =0\quad\left(n>1\ \text{odd}\right) </math>


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 ''S''<sub>''n'',''m''</sub> be the number of surjective maps from {1,2,...,''n''} to {1,2,...,''m''}, then <math>S_{n,m}=m! \left\{\begin{matrix} n \\ m \end{matrix}\right\} </math>. The last equation can only hold if
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
''S''<sub>''n'',''m''</sub> be the number of surjective
maps from {1,2,...,''n''} to {1,2,...,''m''}, then
<math>S_{n,m}=m!
\left\{\begin{matrix} n \\ m \end{matrix}\right\} </math>.
The last equation can only hold if


: <math> \sum_{m=1,3,5,\dots\leq n}\frac{2}{m^{2}}S_{n,m}=\sum_{m=2,4,6,\dots\leq n} \frac{2}{m^{2}} S_{n,m} \quad \left(n>2 \text{ even}\right) \ . </math> : <math> \sum_{m=1,3,5,\dots\leq n}\frac{2}{m^{2}}S_{n,m}=\sum_{m=2,4,6,\dots\leq n} \frac{2}{m^{2}} S_{n,m} \quad \left(n>2 \text{ even}\right) \ . </math>
Line 801: Line 670:
This equation can be proved by induction. The first two examples of this equation are This equation can be proved by induction. The first two examples of this equation are


''n''&nbsp;=&nbsp;4&nbsp;:&nbsp; 2&nbsp;+&nbsp;8&nbsp;=&nbsp;7&nbsp;+&nbsp;3,&nbsp; ''n''&nbsp;=&nbsp;6:&nbsp; 2&nbsp;+&nbsp;120&nbsp;+&nbsp;144&nbsp;=&nbsp;31&nbsp;+&nbsp;195&nbsp;+&nbsp;40. ''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. Thus the Bernoulli numbers vanish at odd index because some non-obvious combinatorial identities are embodied in the Bernoulli numbers.
Line 807: Line 676:
===''p''-adic continuity=== ===''p''-adic continuity===


An especially important congruence property of the Bernoulli numbers can be characterized as a p-adic continuity property. If ''b'', ''m'' and ''n'' are positive integers such that ''m'' and ''n'' are not divisible by ''p''&nbsp;&minus;&nbsp;1 and <math>m \equiv n\, \bmod\,p^{b-1}(p-1)</math>, then An especially important congruence property of the Bernoulli numbers can be characterized as a p-adic continuity property. If ''b'', ''m'' and ''n'' are positive integers such that ''m'' and ''n'' are not divisible by ''p'' − 1 and <math>m \equiv n\, \bmod\,p^{b-1}(p-1)</math>, then


:<math>(1-p^{m-1}){B_m \over m} \equiv (1-p^{n-1}){B_n \over n} \,\bmod\, p^b.</math> :<math>(1-p^{m-1}){B_m \over m} \equiv (1-p^{n-1}){B_n \over n} \,\bmod\, p^b.</math>
Line 815: Line 684:
:<math>(1-p^{-u})\zeta(u) \equiv (1-p^{-v})\zeta(v)\, \bmod \,p^b\,,</math> :<math>(1-p^{-u})\zeta(u) \equiv (1-p^{-v})\zeta(v)\, \bmod \,p^b\,,</math>


where ''u'' = 1 &minus; ''m'' and ''v'' = 1 &minus; ''n'', so that ''u'' and ''v'' are nonpositive and not congruent to 1 mod ''p''&nbsp;&minus;&nbsp;1. This tells us that the Riemann zeta function, with 1&nbsp;&minus;&nbsp;''p''<sup>&minus;''s''</sup> taken out of the Euler product formula, is continuous in the ]s on odd negative integers congruent mod ''p''&nbsp;&minus;&nbsp;1 to a particular <math>a \not\equiv 1\, \bmod\, p-1</math>, and so can be extended to a continuous function <math>\zeta_p(s)</math> for all ''p''-adic integers <math>\Bbb{Z}_p,\,</math> the '''''p''-adic Zeta function'''. where ''u'' = 1 ''m'' and ''v'' = 1 ''n'', so that ''u'' and ''v'' are nonpositive and not congruent to 1 mod ''p'' − 1. This tells us that the Riemann zeta function, with 1 − ''p''<sup>''s''</sup> taken out of the Euler product formula, is continuous in the ]s on odd negative integers congruent mod ''p'' − 1 to a particular <math>a \not\equiv 1\, \bmod\, p-1</math>, and so can be extended to a continuous function <math>\zeta_p(s)</math> for all ''p''-adic integers <math>\Bbb{Z}_p,\,</math> the '''''p''-adic Zeta function'''.


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


For every ''ε''&nbsp;>&nbsp;1/4 there exists a constant ''C''<sub>''ε''</sub>&nbsp;>&nbsp;0 For every ''ε'' > 1/4 there exists a constant ''C''<sub>''ε''</sub> > 0
(depending on ''ε'') such that |''R''(''x'')|&nbsp;<&nbsp;''C''<sub>ε</sub>&nbsp;''x''<sup>ε</sup> as ''x''&nbsp;&nbsp;∞. Here ''R''(''x'') is the ] (depending on ''ε'') such that |''R''(''x'')| < ''C''<sub>ε</sub> ''x''<sup>ε</sup> as ''x''  ∞. Here ''R''(''x'') is the ]


: <math> R(x) = 2 \sum_{k=1}^{\infty} : <math> R(x) = 2 \sum_{k=1}^{\infty}
Line 828: Line 697:
= 2\sum_{k=1}^{\infty}\frac{k^{\overline{k}}x^{k}}{(2\pi)^{2k}\beta_{2k}}. \ </math> = 2\sum_{k=1}^{\infty}\frac{k^{\overline{k}}x^{k}}{(2\pi)^{2k}\beta_{2k}}. \ </math>


<math>n^{\overline{k}}</math> denotes the ] in the notation of ]. The number ''β''<sub>''n''</sub> = ''B''<sub>''n''</sub>/''n'' occur frequently in the study of the zeta function and are significant because ''β''<sub>''n''</sub> is a ''p''-integer for primes ''p'' where ''p''&nbsp;&minus;&nbsp;1 does not divide ''n''. The ''β''<sub>''n''</sub> are called ''divided Bernoulli number''. <math>n^{\overline{k}}</math> denotes the ] in the notation of ]. The number ''β''<sub>''n''</sub> = ''B''<sub>''n''</sub>/''n'' occur frequently in the study of the zeta function and are significant because ''β''<sub>''n''</sub> is a ''p''-integer for primes ''p'' where ''p'' − 1 does not divide ''n''. The ''β''<sub>''n''</sub> are called ''divided Bernoulli number''.


=== Ramanujan's congruences === === Ramanujan's congruences ===
Line 842: Line 711:
== Use of Bernoulli numbers in topology == == Use of Bernoulli numbers in topology ==


The ] for the order of the cyclic group of diffeomorphism classes of ] which bound ]s for <math>n \ge 2</math> involves Bernoulli numbers; if ''B''<sub>(''n'')</sub> is the numerator of ''B''<sub>4''n''</sub>/''n'', then The ] for the order of the cyclic group of diffeomorphism classes of ] which bound ]s for <math>n \ge 2</math> involves Bernoulli numbers; if ''B''<sub>(''n'')</sub> is the numerator of ''B''<sub>4''n''</sub>/''n'', then


:<math>2^{2n-2}(1-2^{2n-1})B_{(n)}</math> :<math>2^{2n-2}(1-2^{2n-1})B_{(n)}</math>


is the number of such exotic spheres. (The formula in the topological literature differs because topologists use a different convention for naming Bernoulli numbers; this article uses the number theorists' convention.) is the number of such exotic spheres. (The formula in the topological literature differs because topologists use a different convention for naming Bernoulli numbers; this article uses the number theorists' convention.)
Line 858: Line 727:
</li> </li>
<li> <li>
The ''n''th ] of the ] ] on the interval is ''B''<sub>''n''</sub>/''n''. The ''n''th ] of the ] ] on the interval is ''B''<sub>''n''</sub>/''n''.
</li> </li>
<li> <li>
Line 867: Line 736:
<table> <table>
<tr> <tr>
<td>''B''<sub>''n''</sub>&nbsp;=&nbsp;</td> <td>''B''<sub>''n''</sub> = </td>
<td><table cellspacing="4" cellpadding="4" style="text-align: center" > <td><table cellspacing="4" cellpadding="4" style="text-align: center" >
<tr> <tr>
Line 914: Line 783:
</tr> </tr>
<tr> <tr>
<td valign="top">(''n''&nbsp;&minus;&nbsp;2)¡</td> <td valign="top">(''n'' − 2)¡</td>
<td valign="top">...</td> <td valign="top">...</td>
<td valign="top">...</td> <td valign="top">...</td>
Line 923: Line 792:
</tr> </tr>
<tr> <tr>
<td valign="top">(''n''&nbsp;&minus;&nbsp;1)¡</td> <td valign="top">(''n'' − 1)¡</td>
<td valign="top">(''n''&nbsp;&minus;&nbsp;2)¡</td> <td valign="top">(''n'' − 2)¡</td>
<td valign="top">...</td> <td valign="top">...</td>
<td valign="top">...</td> <td valign="top">...</td>
Line 933: Line 802:
<tr> <tr>
<td valign="top">''n''¡</td> <td valign="top">''n''¡</td>
<td valign="top">(''n''&nbsp;&minus;&nbsp;1)¡</td> <td valign="top">(''n'' − 1)¡</td>
<td valign="top">(''n''&nbsp;&minus;&nbsp;2)¡</td> <td valign="top">(''n'' − 2)¡</td>
<td valign="top">...</td> <td valign="top">...</td>
<td valign="top">...</td> <td valign="top">...</td>
Line 995: Line 864:


<li> <li>
The next formula is true for ''n'' ≥ 0 if ''B''<sub>1</sub> = ''B''<sub>1</sub>(1) = 1/2 The next formula is true for ''n'' ≥ 0 if ''B''<sub>1</sub> = ''B''<sub>1</sub>(1) = 1/2, but only for ''n'' ≥ 1 if ''B''<sub>1</sub> = ''B''<sub>1</sub>(0) = -1/2.
but only for ''n'' ≥ 1 if ''B''<sub>1</sub> = ''B''<sub>1</sub>(0) = -1/2.


:<math> \sum_{k=0}^{n}\binom{n}{k} \frac{B_{k}}{n-k+2} = \frac{B_{n+1}}{n+1} </math> :<math> \sum_{k=0}^{n}\binom{n}{k} \frac{B_{k}}{n-k+2} = \frac{B_{n+1}}{n+1} </math>
Line 1,015: Line 883:
== See also == == See also ==
* ] * ]
* ] * ]
* ] * ]
* ] * ]
Line 1,022: Line 890:


== Notes == == Notes ==
<references group="~" /> <references group="~" />


== References == == References ==


*{{citation|last1=Abramowitz|first1=M.|last2=Stegun|first2=C. A.|contribution=§23.1: Bernoulli and Euler Polynomials and the Euler-Maclaurin Formula|title=Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables|edition=9th printing|publication-place=New York|publisher=Dover|pages=804&ndash;806|year=1972}}. *{{citation|last1=Abramowitz|first1=M.|last2=Stegun|first2=C. A.|contribution=§23.1: Bernoulli and Euler Polynomials and the Euler-Maclaurin Formula|title=Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables|edition=9th printing|publication-place=New York|publisher=Dover|pages=804–806|year=1972}}.
*{{citation|first=D.|last=André|title=Développements de sec x et tan x.|journal=Comptes Rendus Acad. Sci.|volume=88|year=1879|pages=965&ndash;967}}. *{{citation|first=D.|last=André|title=Développements de sec x et tan x.|journal=Comptes Rendus Acad. Sci.|volume=88|year=1879|pages=965–967}}.
*{{citation|first=D.|last=André|title=Mémoire sur les permutations alternées|journal=J. Math.|volume=7|year=1881|pages=167&ndash;184}}. *{{citation|first=D.|last=André|title=Mémoire sur les permutations alternées|journal=J. Math.|volume=7|year=1881|pages=167–184}}.
*{{citation|first=D.|last=Arlettaz|title=Die Bernoulli-Zahlen: eine Beziehung zwischen Topologie und Gruppentheorie|journal=Math. Semesterber|volume=45|year=1998|pages=61&ndash;75}}. *{{citation|first=D.|last=Arlettaz|title=Die Bernoulli-Zahlen: eine Beziehung zwischen Topologie und Gruppentheorie|journal=Math. Semesterber|volume=45|year=1998|pages=61–75}}.
*{{citation|first=V. I.|last=Arnold|title=Bernoulli-Euler updown numbers associated with function singularities, their combinatorics and arithmetics|journal=Duke Math. J.|volume=63|year=1991|pages=537&ndash;555}}. *{{citation|first=V. I.|last=Arnold|title=Bernoulli-Euler updown numbers associated with function singularities, their combinatorics and arithmetics|journal=Duke Math. J.|volume=63|year=1991|pages=537–555}}.
*{{citation|first=A.|last=Ayoub|title=Euler and the Zeta Function|journal=Amer. Math. Monthly|volume=74|year=1981|pages=1067&ndash;1086}}. *{{citation|first=A.|last=Ayoub|title=Euler and the Zeta Function|journal=Amer. Math. Monthly|volume=74|year=1981|pages=1067–1086}}.
*{{citation|last1=Buhler|first1=J.|last2=Crandall|first2=R.|last3=Ernvall|first3=R.|last4=Metsankyla|first4=T.|last5=Shokrollahi|first5=M.|title=Irregular Primes and Cyclotomic Invariants to 12 Million|journal=Journal of Symbolic Computation''|volume=31|issue=1–2|year=2001|pages=89–96}}. *{{citation|last1=Buhler|first1=J.|last2=Crandall|first2=R.|last3=Ernvall|first3=R.|last4=Metsankyla|first4=T.|last5=Shokrollahi|first5=M.|title=Irregular Primes and Cyclotomic Invariants to 12 Million|journal=Journal of Symbolic Computation''|volume=31|issue=1–2|year=2001|pages=89–96}}.
*{{citation|last=Carlitz|first=L.|title=Bernoulli Numbers.|journal=Fib. Quart.|volume=6|pages=71&ndash;85|year=1968}}. *{{citation|last=Carlitz|first=L.|title=Bernoulli Numbers.|journal=Fib. Quart.|volume=6|pages=71–85|year=1968}}.
*{{citation|first=Thomas|last=Clausen|title=Lehrsatz aus einer Abhandlung über die Bernoullischen Zahlen|journal=Astr. Nachr.|volume=17|year=1840|pages=351&ndash;352}}. *{{citation|first=Thomas|last=Clausen|title=Lehrsatz aus einer Abhandlung über die Bernoullischen Zahlen|journal=Astr. Nachr.|volume=17|year=1840|pages=351–352}}.
*{{citation|first1=John|last1=Conway|authorlink1=John Horton Conway|firshttp://en.wikipedia.org/search/?title=Bernoulli_number&action=edit&section=30t2=Richard |last2=Guy|title=The Book of Numbers|publisher=Springer-Verlag|year=1996}}. *{{citation|first1=John|last1=Conway|authorlink1=John Horton Conway|firshttp://en.wikipedia.org/search/?title=Bernoulli_number&action=edit&section=30t2=Richard |last2=Guy|title=The Book of Numbers|publisher=Springer-Verlag|year=1996}}.
*{{citation|first1=D.|last1=Dumont|first2=G.|last2=Viennot|title=A combinatorial interpretation of Seidel generation of Genocchi numbers|journal=Ann. Discrete Math.|volume=6|year=1980|pages=77&ndash;87}}. *{{citation|first1=D.|last1=Dumont|first2=G.|last2=Viennot|title=A combinatorial interpretation of Seidel generation of Genocchi numbers|journal=Ann. Discrete Math.|volume=6|year=1980|pages=77–87}}.
*{{citation|first=D.|last=Dumont|contribution=Matrices d'Euler-Seidel|title=Séminaire Lotharingien de Combinatoire|year=1981|url=http://emis.u-strasbg.fr/journals/SLC/opapers/s05dumont.html}} *{{citation|first=D.|last=Dumont|contribution=Matrices d'Euler-Seidel|title=Séminaire Lotharingien de Combinatoire|year=1981|url=http://emis.u-strasbg.fr/journals/SLC/opapers/s05dumont.html}}
*{{citation|last=Entringer|first=R. C.|title=A combinatorial interpretation of the Euler and Bernoulli numbers|journal=Nieuw. Arch. V. Wiskunde|volume=14|year=1966|pages=241&ndash;6}}. *{{citation|last=Entringer|first=R. C.|title=A combinatorial interpretation of the Euler and Bernoulli numbers|journal=Nieuw. Arch. V. Wiskunde|volume=14|year=1966|pages=241–6}}.
*{{citation|last=von Ettingshausen|first=A.|title=Vorlesungen über die höhere Mathematik|volume=Bd. 1|publisher=Carl Gerold|publication-place=Vienna|year=1827}}. *{{citation|last=von Ettingshausen|first=A.|title=Vorlesungen über die höhere Mathematik|volume=Bd. 1|publisher=Carl Gerold|publication-place=Vienna|year=1827}}.
*{{citation|first=Leonhard|last=Euler|authorlink=Leonard Euler|title=De summis serierum reciprocarum|year=1735|journal=Opera Omnia|volume=I.14, E 41, |pages=73-86}}; On the sums of series of reciprocals, . *{{citation|first=Leonhard|last=Euler|authorlink=Leonard Euler|title=De summis serierum reciprocarum|year=1735|journal=Opera Omnia|volume=I.14, E 41, |pages=73-86}}; On the sums of series of reciprocals, .
Line 1,047: Line 915:
*{{citation|first=M.|last=Kaneko|title=The Akiyama-Tanigawa algorithm for Bernoulli numbers|journal=Journal of Integer Sequences|volume=12|year=2000|url=http://www.cs.uwaterloo.ca/journals/JIS/vol3.html}}. *{{citation|first=M.|last=Kaneko|title=The Akiyama-Tanigawa algorithm for Bernoulli numbers|journal=Journal of Integer Sequences|volume=12|year=2000|url=http://www.cs.uwaterloo.ca/journals/JIS/vol3.html}}.
*{{citation|first=Bernd|last=Kellner|title=Program Calcbn - A program for calculating Bernoulli numbers|year=2002|url=http://www.bernoulli.org/}}. *{{citation|first=Bernd|last=Kellner|title=Program Calcbn - A program for calculating Bernoulli numbers|year=2002|url=http://www.bernoulli.org/}}.
*{{citation|first1=D. E.|last1=Knuth|authorlink1=Donald Knuth|first2=T. J. |last2=Buckholtz|title=Computation of Tangent, Euler, and Bernoulli Numbers|journal=Mathematics of Computation|volume=21|year=1967|pages=663&ndash;688}}. *{{citation|first1=D. E.|last1=Knuth|authorlink1=Donald Knuth|first2=T. J. |last2=Buckholtz|title=Computation of Tangent, Euler, and Bernoulli Numbers|journal=Mathematics of Computation|volume=21|year=1967|pages=663–688}}.
*{{citation|first=Peter|last=Luschny|url=http://www.luschny.de/math/primes/bernincl.html|title=An inclusion of the Bernoulli numbers|year=2007}} *{{citation|first=Peter|last=Luschny|url=http://www.luschny.de/math/primes/bernincl.html|title=An inclusion of the Bernoulli numbers|year=2007}}
*{{citation|first1=John W.|last1=Milnor|authorlink1=John Willard Milnor|first2=James D.|last2=Stasheff|contribution=Appendix B: Bernoulli Numbers|pages=281&ndash;287|title=Characteristic Classes|series=Annals of Mathematics Studies|volume=76|publihser=Princeton University Press and University of Tokyo Press|year=1974}}. *{{citation|first1=John W.|last1=Milnor|authorlink1=John Willard Milnor|first2=James D.|last2=Stasheff|contribution=Appendix B: Bernoulli Numbers|pages=281–287|title=Characteristic Classes|series=Annals of Mathematics Studies|volume=76|publihser=Princeton University Press and University of Tokyo Press|year=1974}}.
*{{Neukirch ANT}} *{{Neukirch ANT}}
*{{citation|first= *{{citation|first=
Oleksandr|last=Pavlyk|title=Today We Broke the Bernoulli Record: From the Analytical Engine to Mathematica|year=2008|url=http://blog.wolfram.com/2008/04/29/today-we-broke-the-bernoulli-record-from-the-analytical-engine-to-mathematica/|publisher=Wolfram Blog}}. Oleksandr|last=Pavlyk|title=Today We Broke the Bernoulli Record: From the Analytical Engine to Mathematica|year=2008|url=http://blog.wolfram.com/2008/04/29/today-we-broke-the-bernoulli-record-from-the-analytical-engine-to-mathematica/|publisher=Wolfram Blog}}.
*{{citation|first=M.|last=Riesz|title=Sur l'hypothèse de Riemann|journal=Acta Mathematica|volume=40|year=1916|pages=185&ndash;90}}. *{{citation|first=M.|last=Riesz|title=Sur l'hypothèse de Riemann|journal=Acta Mathematica|volume=40|year=1916|pages=185–90}}.
*{{citation|first=L.|last=Seidel|title=Über eine einfache Entstehungsweise der Bernoullischen Zahlen und einiger verwandten Reihen|journal=Sitzungsber. Münch. Akad.|volume=4|year=1877|pages=157&ndash;187}}. *{{citation|first=L.|last=Seidel|title=Über eine einfache Entstehungsweise der Bernoullischen Zahlen und einiger verwandten Reihen|journal=Sitzungsber. Münch. Akad.|volume=4|year=1877|pages=157–187}}.
*{{citation|first=Ilya Sh.|last=Slavutskii|title=Staudt and arithmetical properties of Bernoulli numbers|journal=Historia Scientiarum|volume=2|year=1995|pages=69&ndash;74}}. *{{citation|first=Ilya Sh.|last=Slavutskii|title=Staudt and arithmetical properties of Bernoulli numbers|journal=Historia Scientiarum|volume=2|year=1995|pages=69–74}}.
*{{citation|first=K. G. Ch.|last=von Staudt|title=Beweis eines Lehrsatzes, die Bernoullischen Zahlen betreffend|journal=Journal für die reine und angewandte Mathematik|volume=21|year=1840|pages=372&ndash;374}}. *{{citation|first=K. G. Ch.|last=von Staudt|title=Beweis eines Lehrsatzes, die Bernoullischen Zahlen betreffend|journal=Journal für die reine und angewandte Mathematik|volume=21|year=1840|pages=372–374}}.
*{{citation|first=K. G. Ch.|last=von Staudt|contribution=De numeris Bernoullianis, commentationem alteram|title=Erlangen|year=1845}}. *{{citation|first=K. G. Ch.|last=von Staudt|contribution=De numeris Bernoullianis, commentationem alteram|title=Erlangen|year=1845}}.
*{{citation|first=Zhi-Wei|last=Sun|title=Some curious results on Bernoulli and Euler polynomials|year=2005/2006|url=http://pweb.nju.edu.cn/zwsun}}. *{{citation|first=Zhi-Wei|last=Sun|title=Some curious results on Bernoulli and Euler polynomials|year=2005/2006|url=http://pweb.nju.edu.cn/zwsun}}.
*{{citation|first=S. C.|last=Woon|title=Generalization of a relation between the Riemann zeta function and Bernoulli numbers|year=1998|url=http://arXiv.org/abs/math.NT/9812143}} *{{citation|first=S. C.|last=Woon|title=Generalization of a relation between the Riemann zeta function and Bernoulli numbers|year=1998|url=http://arXiv.org/abs/math.NT/9812143}}
*{{citation|first=J.|last=Worpitzky|title=Studien über die Bernoullischen und Eulerschen Zahlen|journal=Journal für die reine und angewandte Mathematik|volume=94|year=1883|pages=203&ndash;232}}. *{{citation|first=J.|last=Worpitzky|title=Studien über die Bernoullischen und Eulerschen Zahlen|journal=Journal für die reine und angewandte Mathematik|volume=94|year=1883|pages=203–232}}.


==External links== ==External links==

Revision as of 21:05, 23 January 2009

In mathematics, the Bernoulli numbers are a sequence of rational numbers with deep connections to number theory. They are closely related to the values of the Riemann zeta function at negative integers.

In Europe, they were first studied by Jakob Bernoulli, after whom they were named by Abraham de Moivre. In Japan, perhaps earlier, they were independently discovered by Seki Takakazu. They appear in the Taylor series expansions of the tangent and hyperbolic tangent functions, in the Euler–Maclaurin formula, and in expressions for certain values of the Riemann zeta function.

In note G of Ada Byron's notes on the analytical engine from 1842, there is an algorithm for computer-generated Bernoulli numbers. This distinguishes the Bernoulli numbers as being the subject of the first ever published computer program.

Introduction

The Bernoulli numbers Bn, sometimes denoted bn. were first discovered in connection with the closed forms of the sums

k = 0 m 1 k n = 0 n + 1 n + 2 n + + ( m 1 ) n {\displaystyle \sum _{k=0}^{m-1}k^{n}=0^{n}+1^{n}+2^{n}+\cdots +{(m-1)}^{n}}

for various fixed values of n. The closed forms are always polynomials in m of degree n + 1. The coefficients of these polynomials are closely related to the Bernoulli numbers, in connection with Faulhaber's formula:

k = 0 m 1 k n = 1 n + 1 k = 0 n ( n + 1 k ) B k m n + 1 k . {\displaystyle \sum _{k=0}^{m-1}k^{n}={1 \over {n+1}}\sum _{k=0}^{n}{n+1 \choose {k}}B_{k}m^{n+1-k}.}

For example, taking n to be 1,

0 + 1 + 2 + + ( m 1 ) = 1 2 ( B 0 m 2 + 2 B 1 m 1 ) = 1 2 ( m 2 m ) . {\displaystyle 0+1+2+\cdots +(m-1)={\frac {1}{2}}\left(B_{0}m^{2}+2B_{1}m^{1}\right)={\frac {1}{2}}\left(m^{2}-m\right).}

Generating functions

The Bernoulli numbers may also be defined using generating functions. Their exponential generating function is x/(e − 1), so that:

x e x 1 = n = 0 B n x n n ! {\displaystyle {\frac {x}{e^{x}-1}}=\sum _{n=0}^{\infty }B_{n}{\frac {x^{n}}{n!}}}

for all values of x of absolute value less than 2π (the radius of convergence of this power series).

These definitions can be shown to be equivalent using mathematical induction. The initial condition B 0 = 1 {\displaystyle B_{0}=1} is immediate from L'Hôpital's rule. To obtain the recurrence, multiply both sides of the equation by e x 1 {\displaystyle e^{x}-1} . Then, using the Taylor series for the exponential function,

x = ( j = 1 x j j ! ) ( k = 0 B k x k k ! ) . {\displaystyle x=\left(\sum _{j=1}^{\infty }{\frac {x^{j}}{j!}}\right)\left(\sum _{k=0}^{\infty }{\frac {B_{k}x^{k}}{k!}}\right).}

By expanding this as a Cauchy product and rearranging slightly, one obtains

x = m = 0 ( j = 0 m ( m + 1 j ) B j ) x m + 1 ( m + 1 ) ! . {\displaystyle x=\sum _{m=0}^{\infty }\left(\sum _{j=0}^{m}{m+1 \choose j}B_{j}\right){\frac {x^{m+1}}{(m+1)!}}.}

It is clear from this last equality that the coefficients in this power series satisfy the same recurrence as the Bernoulli numbers.

Other forms and conventions

One may also write

k = 0 m 1 k n = B n + 1 ( m ) B n + 1 ( 0 ) n + 1 , {\displaystyle \sum _{k=0}^{m-1}k^{n}={\frac {B_{n+1}(m)-B_{n+1}(0)}{n+1}},}

where Bn + 1(m) is the (n + 1)th-degree Bernoulli polynomial.

Bernoulli numbers may be calculated by using the following recursive formula:

j = 0 m ( m + 1 j ) B j = 0 {\displaystyle \sum _{j=0}^{m}{m+1 \choose {j}}B_{j}=0}

for m > 0, and B0 = 1.

An alternative convention for the Bernoulli numbers is to set B1 = 1/2 rather than −1/2. If this convention is used, then all the Bernoulli numbers may be calculated by a different recursive formula without further qualification:

j = 0 m ( m + 1 j ) B j = m + 1. {\displaystyle \sum _{j=0}^{m}{m+1 \choose {j}}B_{j}=m+1.}

Dividing both sides by m + 1 then gives a form suggestive of the connection with the Riemann zeta function if the j=0 case is understood as a limit to deal with the pole at ζ(1):

j = 0 m ( m j 1 ) B j j = 1 {\displaystyle \sum _{j=0}^{m}{m \choose {j-1}}{\frac {B_{j}}{j}}=1}

The terms of this sum are the coefficients given by Faulhaber's formula for the closed form of x = 1 n x m {\displaystyle \sum _{x=1}^{n}x^{m}} and so this recursive definition is merely reflecting the fact that these sums evaluate to 1 when n=1 for any m. In the alternative convention, the generating function is

x e x e x 1 . {\displaystyle {\frac {xe^{x}}{e^{x}-1}}.}

Values of the Bernoulli numbers

Bn = 0 for all odd n other than 1. B1 = 1/2 or −1/2 depending on the convention adopted (see below). The first few non-zero Bernoulli numbers (sequences A027641 and A027642 in OEIS) and some larger ones are listed below.

n N D Bn = N / D
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

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) p arithmetic operations would be required. Fortunately, faster methods have been developed (Buhler et al. 2001) which require only O(p (log p)) 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(n log(n)) and claims that this implementation is significantly faster than implementations based on other methods. Harvey's implementation is included in Sage since version 3.1. Using this implementation Harvey computed Bn for n = 10, which is a new record (October 2008). Prior to that Bernd Kellner (Kellner 2002) computed Bn to full precision for n = 10 on December 2002 and Oleksandr Pavlyk (Pavlyk 2008) for n = 10 with 'Mathematica' on 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 360 478
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
History of the computation of Bernoulli numbers

Digits is to be understood as the exponent of 10 when B(n) is written as a real in normalized scientific notation.

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. The main formula can be seen in the second half of the facsimile given above. 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 c k _ {\displaystyle c^{\underline {k}}} . The factorial notation k! as a shortcut for 1×2×...×k was introduced not 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 shows Leibniz as the doctoral adviser of Jakob Bernoulli. See also the Earliest Uses of Symbols of Calculus .) 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, today a mathematician is likely to write Bernoulli's formula as

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

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. 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.
    ( z e z e z 1 ) x = x n 0 σ n ( x ) z n {\displaystyle \left({\frac {ze^{z}}{e^{z}-1}}\right)^{x}=x\sum _{n\geq 0}\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.
  • Bernoulli numbers as values of the Riemann zeta function.
    Associated sequence: 1, +1/2, 1/6, 0,....
    This convention agrees with the convention Bn = Bn(1) (for example J. Neukirch and M. Kaneko). The sign '+' for B1 matches the representation of the Bernoulli numbers by the Riemann zeta function. In fact the identity nζ(1−n) = (−1)Bn valid for all n > 0 is then replaced by the simpler nζ(1−n) = −Bn. (See the paper of S. C. Woon.)
  B n = n ! σ n ( 1 ) = B n ( 1 ) = n ζ ( 1 n ) ( n 0 )   {\displaystyle \ B_{n}=n!\sigma _{n}(1)=B_{n}(1)=-n\zeta (1-n)\quad (n\geq 0)\ }
(Note that in the foregoing equation for n = 0 and n = 1 the expression −nζ(1 − n) is to be understood as limx → n −xζ(1 − x).)

Application of the Bernoulli number

Arguably the most important application of the Bernoulli number in mathematics is their use in the Euler-MacLaurin formula. Assuming that f is a sufficiently often differentiable function the Euler-MacLaurin formula can be written as

a k < b f ( k ) = a b f ( x ) d x   + k = 1 m B k k ! ( f ( k 1 ) ( b ) f ( k 1 ) ( a ) ) + R ( f , m )   . {\displaystyle \sum \limits _{a\leq k<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)\ .}

This formulation assumes the convention B1 = -1/2. However, if one sets B1 = 1/2 then this formula can also be written as

a < k b f ( k ) = a b f ( x ) d x     +   k = 1 m B k k ! ( f ( k 1 ) ( b ) f ( k 1 ) ( a ) ) + R ( f , m )   . {\displaystyle \sum \limits _{a<k\leq 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 f = f which is a commonly used notation identifying the zero-th derivative of f with f. Moreover, let f denote an antiderivative of f. By the fundamental theorem of calculus a b f ( x ) d x   = f ( 1 ) ( b ) f ( 1 ) ( a ) {\displaystyle \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

a < k b f ( k ) = k = 0 m B k k ! ( f ( k 1 ) ( b ) f ( k 1 ) ( a ) ) + R ( f , m )   . {\displaystyle \sum \limits _{a<k\leq 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

ζ ( s ) = k = 0 m B k k ! s k 1 ¯ + R ( s , m ) = B 0 0 ! s 1 ¯ + B 1 1 ! s 0 ¯ + B 2 2 ! s 1 ¯ + + R ( s , m ) = 1 s 1 + 1 2 + 1 12 s + + R ( s , m )   . {\displaystyle {\begin{aligned}\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{aligned}}}

Here s k ¯ {\displaystyle s^{\overline {k}}} denotes the rising factorial power .

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 the Worpitzky number

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 is employed. The signless Worpitzky numbers are defined as

W n , k = v = 0 k ( 1 ) v + k ( v + 1 ) n k ! v ! ( k v ) !   . {\displaystyle 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 set number

W n , k = k ! { n + 1 k + 1 } . {\displaystyle W_{n,k}=k!\left\{{\begin{matrix}n+1\\k+1\end{matrix}}\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 = k = 0 n ( 1 ) k W n , k k + 1   . {\displaystyle B_{n}=\sum _{k=0}^{n}(-1)^{k}{\frac {W_{n,k}}{k+1}}\ .}
Worpitzky's representation of the Bernoulli number
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

This representation has B1 = 1/2.

Connection with the Stirling set number

A similar combinatorial representation derives from

B n = k = 0 n ( 1 ) k + n k ! k + 1 { n k }   . {\displaystyle B_{n}=\sum _{k=0}^{n}(-1)^{k+n}{\frac {k!}{k+1}}\left\{{\begin{matrix}n\\k\end{matrix}}\right\}\ .}

Here the Bernoulli numbers are an inclusion-exclusion over the set of length-n words, where the sum is taken over all words of length n with k distinct letters, and normalized by k + 1. The combinatorics of this representation can be seen from:

B 0 = + |   { }   | {\displaystyle B_{0}=+\left\vert \ \left\{\varnothing \right\}\ \right\vert }
B 1 = 1 1 |     | + 1 2 | { a } | {\displaystyle B_{1}=-{\frac {1}{1}}\left\vert \ \varnothing \ \right\vert +{\frac {1}{2}}\left\vert \left\{a\right\}\right\vert }
B 2 = + 1 1 |     | 1 2 | { a a } | + 1 3 | { a b , b a } | {\displaystyle B_{2}=+{\frac {1}{1}}\left\vert \ \varnothing \ \right\vert -{\frac {1}{2}}\left\vert \left\{aa\right\}\right\vert +{\frac {1}{3}}\left\vert \left\{ab,ba\right\}\right\vert }
B 3 = 1 1 |     | + 1 2 | { a a a } | 1 3 | { a a b , a b a , b a a , a b b , b a b , b b a } | + 1 4 | { a b c , a c b , b a c , b c a , c a b , c b a } | {\displaystyle B_{3}=-{\frac {1}{1}}\left\vert \ \varnothing \ \right\vert +{\frac {1}{2}}\left\vert \left\{aaa\right\}\right\vert -{\frac {1}{3}}\left\vert \left\{aab,aba,baa,abb,bab,bba\right\}\right\vert +{\frac {1}{4}}\left\vert \left\{abc,acb,bac,bca,cab,cba\right\}\right\vert }

Connection with the Stirling cycle number

Let [ n m ] {\displaystyle \left} denote the signless Stirling cycle number. The two main formulas relating these number to the Bernoulli number (B1 = 1/2) are

1 m ! k = 0 m ( 1 ) k [ m + 1 k + 1 ] B k = 1 m + 1   , {\displaystyle {\frac {1}{m!}}\sum _{k=0}^{m}(-1)^{k}\leftB_{k}={\frac {1}{m+1}}\ ,}

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

1 m ! k = 0 m ( 1 ) k [ m + 1 k + 1 ] B n + k = A n , m   . {\displaystyle {\frac {1}{m!}}\sum _{k=0}^{m}(-1)^{k}\leftB_{n+k}=A_{n,m}\ .}

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

Akiyama-Tanigawa number
n \ m 0 1 2 3 4
0 11/21/31/41/5
1 1/21/31/41/5...
2 1/61/63/20......
3 01/30.........
4 -1/30............

These relations lead to a simple algorithm to compute the Bernoulli number. The input is the the first row, A0,m = 1/(m + 1) and the output are the Bernoulli number in the first column An,0 = Bn . This transformation is shown in pseudo-code below.

Akiyama-Tanigawa algorithm for Bn
Enter integer n.

For m from 0 by 1 to n do

    A ← 1/(m + 1)
    For j from m by −1 to 1 do
   
    A ← j × (A − A)
Return A  (which is Bn).

Connection with the Eulerian number

The Eulerian number are the number of permutations of {1,2,...,n} with m ascents. They were introduced by Leonhard Euler in 1755 and in the notation of D. E. Knuth written as n m . {\displaystyle \left\langle {n \atop m}\right\rangle .} The two main formulas connecting the Eulerian number to the Bernoulli number are:

m = 0 n ( 1 ) m n m = 2 n + 1 ( 2 n + 1 1 ) B n + 1 n + 1   , {\displaystyle \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}}\ ,}
m = 0 n ( 1 ) m n m ( n m ) 1 = ( n + 1 ) B n   . {\displaystyle \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 1/2. If B1 is set to −1/2 they are valid only for n ≥ 1 and n ≥ 2 respectively.

Asymptotic approximation

Leonhard Euler expressed the Bernoulli numbers in terms of the Riemann zeta function as

B 2 n = ( 1 ) n + 1 2 ( 2 n ) ! ( 2 π ) 2 n [ 1 + 1 2 2 n + 1 3 2 n + 1 4 2 n + ] . {\displaystyle B_{2n}=(-1)^{n+1}{\frac {2(2n)!}{(2\pi )^{2n}}}\left.}

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

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

Integral representation and continuation

The integral

b ( s ) = 2 e s i π / 2 0 s t s 1 e 2 π t d t t {\displaystyle b(s)=2e^{si\pi /2}\int _{0}^{\infty }{\frac {st^{s}}{1-e^{2\pi t}}}{\frac {dt}{t}}}

has as special values b(2n) = B2n for n > 0. The integral might be considered as a continuation of the Bernoulli numbers to the complex plane and this was indeed suggested by Peter Luschny in 2004.

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

p = 3 2 π 3 ( 1 + 1 2 3 + 1 3 3 + etc.   ) = 0.0581522   , {\displaystyle p={\frac {3}{2\pi ^{3}}}\left(1+{\frac {1}{2^{3}}}+{\frac {1}{3^{3}}}+{\text{etc.}}\ \right)=0.0581522\ldots \ ,}
q = 15 2 π 5 ( 1 + 1 2 5 + 1 3 5 + etc.   ) = 0.0254132   . {\displaystyle q={\frac {15}{2\pi ^{5}}}\left(1+{\frac {1}{2^{5}}}+{\frac {1}{3^{5}}}+{\text{etc.}}\ \right)=0.0254132\ldots \ .}

Euler's values are unsigned and real, but obviously his aim was to find a meaningful way to define the Bernoulli numbers at the odd integers n > 1.

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/π)(4 − 2) times larger than the Bernoulli numbers B2n. In consequence:

π     2 ( 2 2 n 4 2 n ) B 2 n E 2 n   . {\displaystyle \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 regard the case when n is even.

B n = k = 0 n 1 ( n 1 k ) n 4 n 2 n E k ( n = 2 , 4 , 6 , ) {\displaystyle 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 = k = 1 n ( n k 1 ) 2 k 4 k k B k ( n = 2 , 4 , 6 , ) . {\displaystyle E_{n}=\sum _{k=1}^{n}{\binom {n}{k-1}}{\frac {2^{k}-4^{k}}{k}}B_{k}\quad (n=2,4,6,\ldots ).}

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 ( 2 π ) n k = ( 4 k + 1 ) n ( k = 0 , 1 , 1 , 2 , 2 , ) {\displaystyle 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. The magic of these numbers lies in the fact that they turn out to be rational numbers. This was first proved by Leonhard Euler 1734 in a landmark paper `De summis serierum reciprocarum' (On the sums of series of reciprocals) and fascinated mathematicians ever since. The first few of these numbers are

1 , 1 , 1 2 , 1 3 , 5 24 , 2 15 , 61 720 , 17 315 , 277 8064 , 62 2835 , {\displaystyle 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 }

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.

B n = ( 1 ) n / 2 [ n   even ] n ! 2 n 4 n S n   , ( n = 2 , 3 , )   , {\displaystyle B_{n}=(-1)^{\left\lfloor n/2\right\rfloor }\left{\frac {n!}{2^{n}-4^{n}}}\,S_{n}\ ,\quad (n=2,3,\ldots )\ ,}
E n = ( 1 ) n / 2 [ n   even ] n ! S n + 1 ( n = 0 , 1 , )   . {\displaystyle E_{n}=(-1)^{\left\lfloor n/2\right\rfloor }\leftn!\,S_{n+1}\quad \qquad (n=0,1,\ldots )\ .}

The expression 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 = 2 Sn / 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

2 , 4 , 3 , 16 5 , 25 8 , 192 61 , 427 136 , 4352 1385 , π   . {\displaystyle 2,4,3,{\frac {16}{5}},{\frac {25}{8}},{\frac {192}{61}},{\frac {427}{136}},{\frac {4352}{1385}},\ldots \quad \longrightarrow \pi \ .}

These rational numbers also appear in the last paragraph of Euler's paper cited above. But it was only in September 2007 that this classical sequence found its way into the Encyclopedia of Integer Sequences (A132049).

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)! are integers.

T n = 1 , 1 , 1 , 2 , 5 , 16 , 61 , 272 , 1385 , 7936 , 50521 , 353792 , ( n = 1 , 2 , ) {\displaystyle T_{n}=1,1,1,2,5,16,61,272,1385,7936,50521,353792,\ldots \quad (n=1,2,\ldots )}

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

B n = ( 1 ) n / 2 [ n  even ] n 2 n 4 n T n   , ( n = 2 , 3 , )   , {\displaystyle B_{n}=(-1)^{\left\lfloor n/2\right\rfloor }\left{\frac {n}{2^{n}-4^{n}}}\,T_{n}\ ,\quad (n=2,3,\ldots )\ ,}
E n = ( 1 ) n / 2 [ n  even ] T n + 1 ( n = 0 , 1 , )   . {\displaystyle E_{n}=(-1)^{\left\lfloor n/2\right\rfloor }\leftT_{n+1}\quad \quad \qquad (n=0,1,\ldots )\ .}

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 published an ingenious algorithm which makes it extremely simple to calculate Tn.

Seidel's algorithm for Tn

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.

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

Similar to Seidel's approach D. E. Knuth and T. J. 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 1991 and later Millar, Sloane and Young popularized Seidel's algorithm under the name boustrophedon transform.

A combinatorial view: alternating permutations

Main article: Alternating permutations

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

tan x = 1 x 1 ! + 2 x 3 3 ! + 16 x 5 5 ! + 272 x 7 7 ! + 7936 x 9 9 ! + {\displaystyle \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 x 2 2 ! + 5 x 4 4 ! + 61 x 6 6 ! + 1385 x 8 8 ! + 50521 x 10 10 ! + {\displaystyle \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 }

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 + 1 x + 1 2 x 2 + 1 3 x 3 + 5 24 x 4 + 2 15 x 5 + 61 720 x 6 + {\displaystyle \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).

Generalizations by polynomials

The Bernoulli polynomials can be regarded as generalizations of the Bernoulli numbers the same as the Euler polynomials are generalizations of the Euler numbers.

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, a fact discovered by Kummer in his work on Fermat's last theorem.

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. We also have a relationship to algebraic K-theory; if cn is the numerator of Bn/2n, then the order of K 4 n 2 ( Z ) {\displaystyle K_{4n-2}({\mathbb {Z} })} is −c2n if n is even, and 2c2n if n is odd.

The Agoh-Giuga conjecture postulates that p is a prime number if and only if pBp−1 is congruent to −1 mod p.

Von Staudt-Clausen theorem

The von Staudt-Clausen theorem was given by Karl Georg Christian von Staudt and Thomas Clausen independently in 1840. It describes the arithmetical structure of the Bernoulli numbers.

The von Staudt-Clausen theorem has two parts. The first one describes how the denominators of the Bernoulli numbers can be computed. Paraphrasing the words of Clausen it can be stated as:

The denominator of the 2n-th Bernoulli number can be found as follows: Add to all divisors of 2n, 1,2,a,a',...,2n the unity, which gives the sequence 2,3,a+1,a'+1,...,2n+1. Select from this sequence only the prime numbers 2,3,p,p', etc. and build their product.

Clausen's algorithm translates almost verbatim to a modern computer algebra program, which looks similar to the pseudocode on the left hand site of the following table. On the right hand side the computation is traced for the input n = 88. It shows that the denominator of B88 is 61410. 

Clausen's algorithm for the denominator of Bn
Clausen: function(integer n)   |   n = 88
S = divisors(n);   |   {1, 2, 4, 8, 11, 22, 44, 88}
S = map(kk+1, S);   |   {2, 3, 5, 9, 12, 23, 45, 89}
S = select(isprime, S);   |   {2, 3, 5, 23, 89}
return product(S);   |   61410

The second part of the von Staudt-Clausen theorem is a very remarkable representation of the Bernoulli numbers. This representation is given for the first few nonzero Bernoulli numbers in the next table.

Von Staudt-Clausen representation of Bn
B0  =  1
B1  =  1 − 1/2
B2  =  1 − 1/2 − 1/3
B4  =  1 − 1/2 − 1/3 − 1/5
B6  =  1 − 1/2 − 1/3 − 1/7
B8  =  1 − 1/2 − 1/3 − 1/5
B10  =  1 − 1/2 − 1/3 − 1/11

The theorem affirms the existence of an integer In such that

B n = I n 2 ( p 1 ) | n 1 p ( n 0 )   . {\displaystyle B_{n}={\frac {I_{n}}{2}}-\sum _{(p-1)|n}{\frac {1}{p}}\quad (n\geq 0)\ .}

The sum is over the primes p for which p−1 divides n. These are the same primes which are employed in the Clausen algorithm. The proposition holds true for all n ≥ 0, not only for even n. I1 = 2 and for odd n > 1, In = 1.

Consequences of the von Staudt-Clausen theorem are: the denominators of the Bernoulli numbers are square-free and for n ≥ 2 divisible by 6.

Why do the odd Bernoulli numbers vanish?

The sum

ϕ k ( n ) = i = 0 n i k n k 2 {\displaystyle \phi _{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 odd and 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

2 B n = m = 0 n ( 1 ) m 2 m + 1 m ! { n + 1 m + 1 } = 0 ( n > 1   odd ) {\displaystyle 2B_{n}=\sum _{m=0}^{n}\left(-1\right)^{m}{\frac {2}{m+1}}m!\left\{{\begin{matrix}n+1\\m+1\end{matrix}}\right\}=0\quad \left(n>1\ {\text{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 S n , m = m ! { n m } {\displaystyle S_{n,m}=m!\left\{{\begin{matrix}n\\m\end{matrix}}\right\}} . The last equation can only hold if

m = 1 , 3 , 5 , n 2 m 2 S n , m = m = 2 , 4 , 6 , n 2 m 2 S n , m ( n > 2  even )   . {\displaystyle \sum _{m=1,3,5,\dots \leq n}{\frac {2}{m^{2}}}S_{n,m}=\sum _{m=2,4,6,\dots \leq n}{\frac {2}{m^{2}}}S_{n,m}\quad \left(n>2{\text{ 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.

p-adic continuity

An especially important congruence property of the Bernoulli numbers can be characterized as a p-adic continuity property. If b, m and n are positive integers such that m and n are not divisible by p − 1 and m n mod p b 1 ( p 1 ) {\displaystyle m\equiv n\,{\bmod {\,}}p^{b-1}(p-1)} , then

( 1 p m 1 ) B m m ( 1 p n 1 ) B n n mod p b . {\displaystyle (1-p^{m-1}){B_{m} \over m}\equiv (1-p^{n-1}){B_{n} \over n}\,{\bmod {\,}}p^{b}.}

Since B n = n ζ ( 1 n ) {\displaystyle B_{n}=-n\zeta (1-n)} , this can also be written

( 1 p u ) ζ ( u ) ( 1 p v ) ζ ( v ) mod p b , {\displaystyle (1-p^{-u})\zeta (u)\equiv (1-p^{-v})\zeta (v)\,{\bmod {\,}}p^{b}\,,}

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

Bernoulli numbers and 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 in 1916 M. Riesz 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 k = 1 k k ¯ x k ( 2 π ) 2 k ( B 2 k / ( 2 k ) ) = 2 k = 1 k k ¯ x k ( 2 π ) 2 k β 2 k .   {\displaystyle 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 k ¯ {\displaystyle 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.

Ramanujan's congruences

The following relations, due to Ramanujan, provide a more efficient method for calculating Bernoulli numbers:

m 0 mod 6 ( m + 3 m ) B m = m + 3 3 j = 1 m / 6 ( m + 3 m 6 j ) B m 6 j {\displaystyle m\equiv 0\,{\bmod {\,}}6\qquad {{m+3} \choose {m}}B_{m}={{m+3} \over 3}-\sum _{j=1}^{m/6}{m+3 \choose {m-6j}}B_{m-6j}}
m 2 mod 6 ( m + 3 m ) B m = m + 3 3 j = 1 ( m 2 ) / 6 ( m + 3 m 6 j ) B m 6 j {\displaystyle m\equiv 2\,{\bmod {\,}}6\qquad {{m+3} \choose {m}}B_{m}={{m+3} \over 3}-\sum _{j=1}^{(m-2)/6}{m+3 \choose {m-6j}}B_{m-6j}}
m 4 mod 6 ( m + 3 m ) B m = m + 3 6 j = 1 ( m 4 ) / 6 ( m + 3 m 6 j ) B m 6 j . {\displaystyle m\equiv 4\,{\bmod {\,}}6\qquad {{m+3} \choose {m}}B_{m}=-{{m+3} \over 6}-\sum _{j=1}^{(m-4)/6}{m+3 \choose {m-6j}}B_{m-6j}.}

Use of Bernoulli numbers 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 for n 2 {\displaystyle n\geq 2} involves Bernoulli numbers; if B(n) is the numerator of B4n/n, then

2 2 n 2 ( 1 2 2 n 1 ) B ( n ) {\displaystyle 2^{2n-2}(1-2^{2n-1})B_{(n)}}

is the number of such exotic spheres. (The formula in the topological literature differs because topologists use a different convention for naming Bernoulli numbers; this article uses the number theorists' convention.)

Assorted identities

  • Let n be non-negative and even
    ζ ( n ) = ( 1 ) n 2 1 B n ( 2 π ) n 2 n ! {\displaystyle \zeta (n)={\frac {\left(-1\right)^{{\frac {n}{2}}-1}B_{n}\left(2\pi \right)^{n}}{2n!}}}
  • The nth cumulant of the uniform probability distribution on the interval is Bn/n.
  • Let n¡ = 1/n! and n ≥ 1. Then Bn is n! times the determinant of the following matrix.
    Bn = 
    1
    ───
    n¡
    0 0 0 ... 0
    0 0 ... 0
    0 ... 0
    ... ... ... ... ... ... ...
    (n − 2)¡ ... ... 0
    (n − 1)¡ (n − 2)¡ ... ...
    n¡ (n − 1)¡ (n − 2)¡ ... ...

    Thus the determinant is σn(1), the Stirling polynomial at x = 1.

  • Let n ≥ 1.
    1 n k = 1 n B k B n k + B n 1 = B n (L. Euler) {\displaystyle {\frac {1}{n}}\sum _{k=1}^{n}B_{k}B_{n-k}+B_{n-1}=-B_{n}\quad {\text{(L. Euler)}}}
  • Let n ≥ 1. Then (von Ettingshausen 1827)
    k = 0 n ( n + 1 k ) ( n + k + 1 ) B n + k = 0 {\displaystyle \sum _{k=0}^{n}{\binom {n+1}{k}}(n+k+1)B_{n+k}=0}
  • Let n ≥ 1 and m ≥ 1. Then (Carlitz 1968)
    ( 1 ) m r = 0 m ( m r ) B n + r = ( 1 ) n s = 0 n ( n s ) B m + s {\displaystyle (-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 = 1 k n k 1 {\displaystyle H_{n}=\sum _{1\leq k\leq n}k^{-1}}
    the harmonic number. Then
    n 2 k = 2 n 2 B n k n k B k k k = 2 n 2 ( n k ) B n k n k B k = H n B n (H. Miki, 1978) {\displaystyle {\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 ) k = 2 n 2 B k B n k 2 l = 2 n 2 ( n + 2 l ) B l B n l = n ( n + 1 ) B n {\displaystyle (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}}
  • Let n ≥ 1
    n 2 ( B n 1 ( x ) + k = 1 n 1 B k ( x ) k B n k ( x ) n k ) k = 0 n 1 ( n k ) B n k n k B k ( x ) = H n 1 B n ( x ) {\displaystyle {\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)}
    This is an identity by Faber-Pandharipande-Zagier-Gessel. Choose x = 0 or x = 1 to get a Bernoulli number identity according to your favourite convention.
  • The next formula is true for n ≥ 0 if B1 = B1(1) = 1/2, but only for n ≥ 1 if B1 = B1(0) = -1/2.
    k = 0 n ( n k ) B k n k + 2 = B n + 1 n + 1 {\displaystyle \sum _{k=0}^{n}{\binom {n}{k}}{\frac {B_{k}}{n-k+2}}={\frac {B_{n+1}}{n+1}}}
  • Let n ≥ 0 and = 1 if b is true, 0 otherwise.
    1 + k = 0 n ( n k ) 2 n k + 1 n k + 1 B k ( 1 ) = 2 n {\displaystyle -1+\sum _{k=0}^{n}{\binom {n}{k}}{\frac {2^{n-k+1}}{n-k+1}}B_{k}(1)=2^{n}}
    and
    1 + k = 0 n ( n k ) 2 n k + 1 n k + 1 B k ( 0 ) = [ n = 0 ] {\displaystyle -1+\sum _{k=0}^{n}{\binom {n}{k}}{\frac {2^{n-k+1}}{n-k+1}}B_{k}(0)=}

See also

Notes

  1. Mathematics Genealogy Project
  2. Earliest Uses of Symbols of Calculus
  3. Concrete Mathematics, (9.67).
  4. Concrete Mathematics, (2.44) and (2.52)
  5. Concrete Mathematics, Table 254 Euler's triangle.

References

  • Abramowitz, M.; Stegun, C. A. (1972), "§23.1: Bernoulli and Euler Polynomials and the Euler-Maclaurin Formula", Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables (9th printing ed.), New York: Dover, pp. 804–806.
  • André, D. (1879), "Développements de sec x et tan x.", Comptes Rendus Acad. Sci., 88: 965–967.
  • André, D. (1881), "Mémoire sur les permutations alternées", J. Math., 7: 167–184.
  • Arlettaz, D. (1998), "Die Bernoulli-Zahlen: eine Beziehung zwischen Topologie und Gruppentheorie", Math. Semesterber, 45: 61–75.
  • Arnold, V. I. (1991), "Bernoulli-Euler updown numbers associated with function singularities, their combinatorics and arithmetics", Duke Math. J., 63: 537–555.
  • Ayoub, A. (1981), "Euler and the Zeta Function", Amer. Math. Monthly, 74: 1067–1086.
  • Buhler, J.; Crandall, R.; Ernvall, R.; Metsankyla, T.; Shokrollahi, M. (2001), "Irregular Primes and Cyclotomic Invariants to 12 Million", Journal of Symbolic Computation, 31 (1–2): 89–96 {{citation}}: Italic or bold markup not allowed in: |journal= (help).
  • Carlitz, L. (1968), "Bernoulli Numbers.", Fib. Quart., 6: 71–85.
  • Clausen, Thomas (1840), "Lehrsatz aus einer Abhandlung über die Bernoullischen Zahlen", Astr. Nachr., 17: 351–352.
  • Conway, John; Guy (1996), The Book of Numbers, Springer-Verlag {{citation}}: Unknown parameter |firshttp://en.wikipedia.org/search/?title= ignored (help).
  • Dumont, D.; Viennot, G. (1980), "A combinatorial interpretation of Seidel generation of Genocchi numbers", Ann. Discrete Math., 6: 77–87.
  • Dumont, D. (1981), "Matrices d'Euler-Seidel", Séminaire Lotharingien de Combinatoire
  • Entringer, R. C. (1966), "A combinatorial interpretation of the Euler and Bernoulli numbers", Nieuw. Arch. V. Wiskunde, 14: 241–6.
  • von Ettingshausen, A. (1827), Vorlesungen über die höhere Mathematik, vol. Bd. 1, Vienna: Carl Gerold.
  • Euler, Leonhard (1735), "De summis serierum reciprocarum", Opera Omnia, I.14, E 41, : 73–86{{citation}}: CS1 maint: extra punctuation (link); On the sums of series of reciprocals, arXiv:math/0506415v2 (math.HO).
  • Fee, G.; Plouffe, S. (2007), An efficient algorithm for the computation of Bernoulli numbers. arXiv:math/0702300v2 (math.NT)
  • Graham, R. L.; Knuth, D. E.; Patashnik, O. (1989), Concrete Mathematics, Addison-Wesley.
  • Harvey, David (2008), A multimodular algorithm for computing Bernoulli numbers arXiv:0807.1347v2
  • Jordan, Charles (1950), Calculus of Finite Differences, New York: Chelsea Publ. Co..
  • Kaneko, M. (2000), "The Akiyama-Tanigawa algorithm for Bernoulli numbers", Journal of Integer Sequences, 12.
  • Kellner, Bernd (2002), Program Calcbn - A program for calculating Bernoulli numbers.
  • Knuth, D. E.; Buckholtz, T. J. (1967), "Computation of Tangent, Euler, and Bernoulli Numbers", Mathematics of Computation, 21: 663–688.
  • Luschny, Peter (2007), An inclusion of the Bernoulli numbers
  • Milnor, John W.; Stasheff, James D. (1974), "Appendix B: Bernoulli Numbers", Characteristic Classes, Annals of Mathematics Studies, vol. 76, pp. 281–287 {{citation}}: Unknown parameter |publihser= ignored (|publisher= suggested) (help).
  • Neukirch, Jürgen (1999). Algebraische Zahlentheorie. Grundlehren der mathematischen Wissenschaften. Vol. 322. Berlin: Springer-Verlag. ISBN 978-3-540-65399-8. MR 1697859. Zbl 0956.11021.
  • Pavlyk, Oleksandr (2008), Today We Broke the Bernoulli Record: From the Analytical Engine to Mathematica, Wolfram Blog.
  • Riesz, M. (1916), "Sur l'hypothèse de Riemann", Acta Mathematica, 40: 185–90.
  • Seidel, L. (1877), "Über eine einfache Entstehungsweise der Bernoullischen Zahlen und einiger verwandten Reihen", Sitzungsber. Münch. Akad., 4: 157–187.
  • Slavutskii, Ilya Sh. (1995), "Staudt and arithmetical properties of Bernoulli numbers", Historia Scientiarum, 2: 69–74.
  • von Staudt, K. G. Ch. (1840), "Beweis eines Lehrsatzes, die Bernoullischen Zahlen betreffend", Journal für die reine und angewandte Mathematik, 21: 372–374.
  • von Staudt, K. G. Ch. (1845), "De numeris Bernoullianis, commentationem alteram", Erlangen.
  • Sun, Zhi-Wei (2005/2006), Some curious results on Bernoulli and Euler polynomials {{citation}}: Check date values in: |year= (help)CS1 maint: year (link).
  • Woon, S. C. (1998), Generalization of a relation between the Riemann zeta function and Bernoulli numbers
  • Worpitzky, J. (1883), "Studien über die Bernoullischen und Eulerschen Zahlen", Journal für die reine und angewandte Mathematik, 94: 203–232.

External links

Categories: