HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the Bernoulli numbers are a sequence of rational numbers which occur frequently in analysis. The Bernoulli numbers appear in (and can be defined by) the Taylor series expansions of the tangent and hyperbolic tangent functions, in
Faulhaber's formula In mathematics, Faulhaber's formula, named after the early 17th century mathematician Johann Faulhaber, expresses the sum of the ''p''-th powers of the first ''n'' positive integers :\sum_^n k^p = 1^p + 2^p + 3^p + \cdots + n^p as a (''p''&nb ...
for the sum of ''m''-th powers of the first ''n'' positive integers, in the Euler–Maclaurin formula, and in expressions for certain values of the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
. The values of the first 20 Bernoulli numbers are given in the adjacent table. Two conventions are used in the literature, denoted here by B^_n and B^_n; they differ only for , where B^_1=-1/2 and B^_1=+1/2. For every odd , . For every even , is negative if is divisible by 4 and positive otherwise. The Bernoulli numbers are special values of the Bernoulli polynomials B_n(x), with B^_n=B_n(0) and B^+_n=B_n(1). The Bernoulli numbers were discovered around the same time by the Swiss mathematician Jacob Bernoulli, after whom they are named, and independently by Japanese mathematician Seki Takakazu. Seki's discovery was posthumously published in 1712 in his work ''Katsuyō Sanpō''; Bernoulli's, also posthumously, in his '' Ars Conjectandi'' of 1713.
Ada Lovelace Augusta Ada King, Countess of Lovelace (''née'' Byron; 10 December 1815 – 27 November 1852) was an English mathematician and writer, chiefly known for her work on Charles Babbage's proposed mechanical general-purpose computer, the A ...
's note G on the
Analytical Engine The Analytical Engine was a proposed mechanical general-purpose computer designed by English mathematician and computer pioneer Charles Babbage. It was first described in 1837 as the successor to Babbage's difference engine, which was a des ...
from 1842 describes an algorithm for generating Bernoulli numbers with Babbage's machine. As a result, the Bernoulli numbers have the distinction of being the subject of the first published complex computer program.


Notation

The superscript used in this article distinguishes the two sign conventions for Bernoulli numbers. Only the term is affected: * with ( / ) is the sign convention prescribed by
NIST The National Institute of Standards and Technology (NIST) is an agency of the United States Department of Commerce whose mission is to promote American innovation and industrial competitiveness. NIST's activities are organized into physical sci ...
and most modern textbooks. * with ( / ) was used in the older literature, and (since 2022) by Donald Knuth following Peter Luschny's "Bernoulli Manifesto". In the formulas below, one can switch from one sign convention to the other with the relation B_n^=(-1)^n B_n^, or for integer = 2 or greater, simply ignore it. Since for all odd , and many formulas only involve even-index Bernoulli numbers, a few authors write "" instead of . This article does not follow that notation.


History


Early history

The Bernoulli numbers are rooted in the early history of the computation of sums of integer powers, which have been of interest to mathematicians since antiquity. Methods to calculate the sum of the first positive integers, the sum of the squares and of the cubes of the first positive integers were known, but there were no real 'formulas', only descriptions given entirely in words. Among the great mathematicians of antiquity to consider this problem were Pythagoras (c. 572–497 BCE, Greece),
Archimedes Archimedes of Syracuse (;; ) was a Greek mathematician, physicist, engineer, astronomer, and inventor from the ancient city of Syracuse in Sicily. Although few details of his life are known, he is regarded as one of the leading scientists ...
(287–212 BCE, Italy), Aryabhata (b. 476, India),
Abu Bakr al-Karaji ( fa, ابو بکر محمد بن الحسن الکرجی; c. 953 – c. 1029) was a 10th-century Persian mathematician and engineer who flourished at Baghdad. He was born in Karaj, a city near Tehran. His three principal surviving works are ...
(d. 1019, Persia) and Abu Ali al-Hasan ibn al-Hasan ibn
al-Haytham Ḥasan Ibn al-Haytham, Latinized as Alhazen (; full name ; ), was a medieval mathematician, astronomer, and physicist of the Islamic Golden Age from present-day Iraq.For the description of his main fields, see e.g. ("He is one of the prin ...
(965–1039, Iraq). During the late sixteenth and early seventeenth centuries mathematicians made significant progress. In the West Thomas Harriot (1560–1621) of England, Johann Faulhaber (1580–1635) of Germany, Pierre de Fermat (1601–1665) and fellow French mathematician
Blaise Pascal Blaise Pascal ( , , ; ; 19 June 1623 – 19 August 1662) was a French mathematician, physicist, inventor, philosopher, and Catholic Church, Catholic writer. He was a child prodigy who was educated by his father, a tax collector in Rouen. Pa ...
(1623–1662) all played important roles. Thomas Harriot seems to have been the first to derive and write formulas for sums of powers using symbolic notation, but even he calculated only up to the sum of the fourth powers. Johann Faulhaber gave formulas for sums of powers up to the 17th power in his 1631 ''Academia Algebrae'', far higher than anyone before him, but he did not give a general formula. Blaise Pascal in 1654 proved ''Pascal's identity'' relating the sums of the th powers of the first positive integers for . The Swiss mathematician Jakob Bernoulli (1654–1705) was the first to realize the existence of a single sequence of constants which provide a uniform formula for all sums of powers. The joy Bernoulli experienced when he hit upon the pattern needed to compute quickly and easily the coefficients of his formula for the sum of the th powers for any positive integer can be seen from his comment. He wrote: :"With the help of this table, it took me less than half of a quarter of an hour to find that the tenth powers of the first 1000 numbers being added together will yield the sum 91,409,924,241,424,243,424,241,924,242,500." Bernoulli's result was published posthumously in '' Ars Conjectandi'' in 1713. Seki Takakazu independently discovered the Bernoulli numbers and his result was published a year earlier, also posthumously, in 1712. However, Seki did not present his method as a formula based on a sequence of constants. Bernoulli's formula for sums of powers is the most useful and generalizable formulation to date. The coefficients in Bernoulli's formula are now called Bernoulli numbers, following a suggestion of Abraham de Moivre. Bernoulli's formula is sometimes called
Faulhaber's formula In mathematics, Faulhaber's formula, named after the early 17th century mathematician Johann Faulhaber, expresses the sum of the ''p''-th powers of the first ''n'' positive integers :\sum_^n k^p = 1^p + 2^p + 3^p + \cdots + n^p as a (''p''&nb ...
after Johann Faulhaber who found remarkable ways to calculate sum of powers but never stated Bernoulli's formula. According to Knuth a rigorous proof of Faulhaber's formula was first published by Carl Jacobi in 1834. Knuth's in-depth study of Faulhaber's formula concludes (the nonstandard notation on the LHS is explained further on): :''"Faulhaber never discovered the Bernoulli numbers; i.e., he never realized that a single sequence of constants'' ''... would provide a uniform'' :: \quad \sum n^m = \frac 1\left( B_0n^+\binom 1 B^+_1 n^m+\binom 2B_2n^+\cdots+\binommB_mn\right) ::or :: \quad \sum n^m = \frac 1\left( B_0n^-\binom 1 B^_1 n^m+\binom 2B_2n^-\cdots +(-1)^m\binommB_mn\right) :''for all sums of powers. He never mentioned, for example, the fact that almost half of the coefficients turned out to be zero after he had converted his formulas for'' ''from polynomials in to polynomials in ."''


Reconstruction of "Summae Potestatum"

The Bernoulli numbers (n)/(n) were introduced by Jakob Bernoulli in the book '' Ars Conjectandi'' published posthumously in 1713 page 97. The main formula can be seen in the second half of the corresponding facsimile. The constant coefficients denoted , , and by Bernoulli are mapped to the notation which is now prevalent as , , , . The expression means – the small dots are used as grouping symbols. Using today's terminology these expressions are falling factorial powers . The factorial notation as a shortcut for was not introduced until 100 years later. The integral symbol on the left hand side goes back to Gottfried Wilhelm Leibniz in 1675 who used it as a long letter for "summa" (sum). The letter on the left hand side is not an index of
summation In mathematics, summation is the addition of a sequence of any kind of numbers, called ''addends'' or ''summands''; the result is their ''sum'' or ''total''. Beside numbers, other types of values can be summed as well: functions, vectors, mat ...
but gives the upper limit of the range of summation which is to be understood as . Putting things together, for positive , today a mathematician is likely to write Bernoulli's formula as: : \sum_^n k^c = \frac+\frac 1 2 n^c+\sum_^c \frac c^n^. This formula suggests setting when switching from the so-called 'archaic' enumeration which uses only the even indices 2, 4, 6... to the modern form (more on different conventions in the next paragraph). Most striking in this context is the fact that the
falling factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
has for the value . Thus Bernoulli's formula can be written : \sum_^n k^c = \sum_^c \fracc^ n^ if , recapturing the value Bernoulli gave to the coefficient at that position. The formula for \textstyle \sum_^n k^9 in the first half of the quotation by Bernoulli above contains an error at the last term; it should be -\tfrac n^2 instead of -\tfrac n^2.


Definitions

Many characterizations of the Bernoulli numbers have been found in the last 300 years, and each could be used to introduce these numbers. Here only three of the most useful ones are mentioned: * a recursive equation, * an explicit formula, * a generating function. For the proof of the
equivalence Equivalence or Equivalent may refer to: Arts and entertainment *Album-equivalent unit, a measurement unit in the music industry *Equivalence class (music) *''Equivalent VIII'', or ''The Bricks'', a minimalist sculpture by Carl Andre *'' Equival ...
of the three approaches.See or .


Recursive definition

The Bernoulli numbers obey the sum formulas : \begin \sum_^\binom k B^_k &= \delta_ \\ \sum_^\binom k B^_k &= m+1 \end where m=0,1,2... and denotes the Kronecker delta. Solving for B^_m gives the recursive formulas : \begin B_m^ &= \delta_ - \sum_^ \binom \frac \\ B_m^+ &= 1 - \sum_^ \binom \frac. \end


Explicit definition

In 1893
Louis Saalschütz Louis Saalschütz (1 December 1835 — 25 May 1913) was a Prussian- Jewish mathematician, known for his contributions to number theory and mathematical analysis. Biography Louis Saalschütz was born to a Jewish family in Königsberg, Prussia, t ...
listed a total of 38 explicit formulas for the Bernoulli numbers, usually giving some reference in the older literature. One of them is (for m\geq 1): :\begin B^_m &= \sum_^m \sum_^k (-1)^v \binom \frac \\ B^+_m &= \sum_^m \sum_^k (-1)^v \binom \frac. \end


Generating function

The exponential
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary seri ...
s are :\begin \frac &= \frac \left( \operatorname \frac -1 \right) &&= \sum_^\infty \frac\\ \frac &= \frac \left( \operatorname \frac +1 \right) &&= \sum_^\infty \frac. \end where the substitution is t \to - t. The (ordinary) generating function : z^ \psi_1(z^) = \sum_^ B^+_m z^m is an asymptotic series. It contains the trigamma function .


Bernoulli numbers and the Riemann zeta function

The Bernoulli numbers can be expressed in terms of the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
: :           for  . Here the argument of the zeta function is 0 or negative. By means of the zeta functional equation and the gamma reflection formula the following relation can be obtained: : B_ = \frac \zeta(2n) \quad for  . Now the argument of the zeta function is positive. It then follows from () and Stirling's formula that : , B_, \sim 4 \sqrt \left(\frac \right)^ \quad for  .


Efficient computation of Bernoulli numbers

In some applications it is useful to be able to compute the Bernoulli numbers through modulo , where is a prime; for example to test whether Vandiver's conjecture holds for , or even just to determine whether 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) arithmetic operations would be required. Fortunately, faster methods have been developed which require only operations (see big notation). David Harvey describes an algorithm for computing Bernoulli numbers by computing modulo for many small primes , and then reconstructing via the
Chinese remainder theorem In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer ''n'' by several integers, then one can determine uniquely the remainder of the division of ''n'' by the product of thes ...
. Harvey writes that the
asymptotic In analytic geometry, an asymptote () of a curve is a line such that the distance between the curve and the line approaches zero as one or both of the ''x'' or ''y'' coordinates tends to infinity. In projective geometry and related contexts, ...
time complexity of this algorithm is and claims that this implementation is significantly faster than implementations based on other methods. Using this implementation Harvey computed for . Harvey's implementation has been included in SageMath since version 3.1. Prior to that, Bernd Kellner computed to full precision for in December 2002 and Oleksandr Pavlyk for with
Mathematica Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimizat ...
in April 2008. : ::* ''Digits'' is to be understood as the exponent of 10 when is written as a real number in normalized scientific notation. A possible algorithm for computing Bernoulli numbers in the
Julia programming language Julia is a high-level, dynamic programming language. Its features are well suited for numerical analysis and computational science. Distinctive aspects of Julia's design include a type system with parametric polymorphism in a dynamic progr ...
is given by b = Array(undef, n+1) b = 1 b = -0.5 for m=2:n for k=0:m for v=0:k b +1+= (-1)^v * binomial(k,v) * v^(m) / (k+1) end end end return b


Applications of the Bernoulli numbers


Asymptotic analysis

Arguably the most important application of the Bernoulli numbers in mathematics is their use in the Euler–Maclaurin formula. Assuming that is a sufficiently often differentiable function the Euler–Maclaurin formula can be written as : \sum_^ f(k) = \int_a^b f(x)\,dx + \sum_^m \frac (f^(b)-f^(a))+R_-(f,m). This formulation assumes the convention . Using the convention the formula becomes : \sum_^ f(k) = \int_a^b f(x)\,dx + \sum_^m \frac (f^(b)-f^(a))+R_+(f,m). Here f^=f (i.e. the zeroth-order derivative of f is just f). Moreover, let f^ denote an antiderivative of f. By the fundamental theorem of calculus, : \int_a^b f(x)\,dx = f^(b) - f^(a). Thus the last formula can be further simplified to the following succinct form of the Euler–Maclaurin formula : \sum_^f(k)= \sum_^m \frac (f^(b)-f^(a))+R(f,m). This form is for example the source for the important Euler–Maclaurin expansion of the zeta function : \begin \zeta(s) & =\sum_^m \frac s^ + R(s,m) \\ & = \fracs^ + \frac s^ + \frac s^ +\cdots+R(s,m) \\ & = \frac + \frac + \fracs + \cdots + R(s,m). \end Here denotes the rising factorial power. Bernoulli numbers are also frequently used in other kinds of asymptotic expansions. The following example is the classical Poincaré-type asymptotic expansion of the digamma function . :\psi(z) \sim \ln z - \sum_^\infty \frac


Sum of powers

Bernoulli numbers feature prominently in the closed form expression of the sum of the th powers of the first positive integers. For define :S_m(n) = \sum_^n k^m = 1^m + 2^m + \cdots + n^m. This expression can always be rewritten as a polynomial in of degree . The
coefficient In mathematics, a coefficient is a multiplicative factor in some term of a polynomial, a series, or an expression; it is usually a number, but may be any expression (including variables such as , and ). When the coefficients are themselves var ...
s of these polynomials are related to the Bernoulli numbers by Bernoulli's formula: : S_m(n) = \frac \sum_^m \binom B^+_k n^ = m! \sum_^m \frac , where denotes the
binomial coefficient In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
. For example, taking to be 1 gives the triangular numbers . : 1 + 2 + \cdots + n = \frac (B_0 n^2 + 2 B^+_1 n^1) = \tfrac12 (n^2 + n). Taking to be 2 gives the
square pyramidal number In mathematics, a pyramid number, or square pyramidal number, is a natural number that counts the number of stacked spheres in a pyramid with a square base. The study of these numbers goes back to Archimedes and Fibonacci. They are part of a broa ...
s . : 1^2 + 2^2 + \cdots + n^2 = \frac (B_0 n^3 + 3 B^+_1 n^2 + 3 B_2 n^1) = \tfrac13 \left(n^3 + \tfrac32 n^2 + \tfrac12 n\right). Some authors use the alternate convention for Bernoulli numbers and state Bernoulli's formula in this way: : S_m(n) = \frac \sum_^m (-1)^k \binom B^_k n^. Bernoulli's formula is sometimes called
Faulhaber's formula In mathematics, Faulhaber's formula, named after the early 17th century mathematician Johann Faulhaber, expresses the sum of the ''p''-th powers of the first ''n'' positive integers :\sum_^n k^p = 1^p + 2^p + 3^p + \cdots + n^p as a (''p''&nb ...
after Johann Faulhaber who also found remarkable ways to calculate
sums of powers In mathematics and statistics, sums of powers occur in a number of contexts: * Sums of squares arise in many contexts. For example, in geometry, the Pythagorean theorem involves the sum of two squares; in number theory, there are Legendre's thre ...
. Faulhaber's formula was generalized by V. Guo and J. Zeng to a -analog.


Taylor series

The Bernoulli numbers appear in the Taylor series expansion of many trigonometric functions and hyperbolic functions. ; Tangent : \begin \tan x &= \sum_^\infty \frac\; x^,& \left , x \right , &< \frac \pi 2 \\ \end ;
Cotangent In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in all ...
: \begin \cot x & = \frac \sum_^\infty \frac,& \qquad 0 < , x, < \pi. \end ; Hyperbolic tangent :\begin \tanh x &= \sum_^\infty \frac\;x^,& , x, &< \frac \pi 2. \end ; Hyperbolic cotangent : \begin \coth x & = \frac \sum_^\infty \frac,& \qquad \qquad 0 < , x, < \pi. \end


Laurent series

The Bernoulli numbers appear in the following
Laurent series In mathematics, the Laurent series of a complex function f(z) is a representation of that function as a power series which includes terms of negative degree. It may be used to express complex functions in cases where a Taylor series expansion c ...
: Digamma function: \psi(z)= \ln z- \sum_^\infty \frac


Use in topology

The
Kervaire–Milnor formula In 4-dimensional topology, a branch of mathematics, Rokhlin's theorem states that if a smooth, closed 4-manifold ''M'' has a spin structure (or, equivalently, the second Stiefel–Whitney class w_2(M) vanishes), then the signature of its inters ...
for the order of the cyclic group of diffeomorphism classes of exotic -spheres which bound parallelizable manifolds involves Bernoulli numbers. Let be the number of such exotic spheres for , then :\textit_n = (2^-2^) \operatorname\left(\frac \right) . The Hirzebruch signature theorem for the genus of a smooth
oriented In mathematics, orientability is a property of some topological spaces such as real vector spaces, Euclidean spaces, surfaces, and more generally manifolds that allows a consistent definition of "clockwise" and "counterclockwise". A space is ...
closed manifold In mathematics, a closed manifold is a manifold without boundary that is compact. In comparison, an open manifold is a manifold without boundary that has only ''non-compact'' components. Examples The only connected one-dimensional example ...
of dimension 4''n'' also involves Bernoulli numbers.


Connections with combinatorial numbers

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


Connection with Worpitzky numbers

The definition to proceed with was developed by Julius Worpitzky in 1883. Besides elementary arithmetic only the factorial function and the power function is employed. The signless Worpitzky numbers are defined as : W_=\sum_^k (-1)^ (v+1)^n \frac . They can also be expressed through the Stirling numbers of the second kind : W_=k! \left\. A Bernoulli number is then introduced as an inclusion–exclusion sum of Worpitzky numbers weighted by the harmonic sequence 1, , , ... : B_=\sum_^n (-1)^k \frac\ =\ \sum_^n \frac \sum_^k (-1)^v (v+1)^n \ . : : : : : : : This representation has . Consider the sequence , . From Worpitzky's numbers , applied to is identical to the Akiyama–Tanigawa transform applied to (see Connection with Stirling numbers of the first kind). This can be seen via the table: : The first row represents . Hence for the second fractional Euler numbers () / (): : : : : : : : A second formula representing the Bernoulli numbers by the Worpitzky numbers is for : B_n=\frac n \sum_^ (-2)^\, W_ . The simplified second Worpitzky's representation of the second Bernoulli numbers is: () / () = × () / () which links the second Bernoulli numbers to the second fractional Euler numbers. The beginning is: : The numerators of the first parentheses are (see Connection with Stirling numbers of the first kind).


Connection with Stirling numbers of the second kind

If denotes Stirling numbers of the second kind then one has: : j^k=\sum_^k S(k,m) where denotes the
falling factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
. If one defines the
Bernoulli polynomials In mathematics, the Bernoulli polynomials, named after Jacob Bernoulli, combine the Bernoulli numbers and binomial coefficients. They are used for series expansion of functions, and with the Euler–MacLaurin formula. These polynomials occur in ...
as: : B_k(j)=k\sum_^\binomS(k-1,m)m!+B_k where for are the Bernoulli numbers. Then after the following property of the
binomial coefficient In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
: : \binom=\binom-\binom one has, : j^k=\frac. One also has the following for Bernoulli polynomials, : B_k(j)=\sum_^k \binom B_n j^. The coefficient of in is . Comparing the coefficient of in the two expressions of Bernoulli polynomials, one has: : B_k=\sum_^k (-1)^m \frac S(k,m) (resulting in ) which is an explicit formula for Bernoulli numbers and can be used to prove Von-Staudt Clausen theorem.


Connection with Stirling numbers of the first kind

The two main formulas relating the unsigned Stirling numbers of the first kind to the Bernoulli numbers (with ) are : \frac\sum_^m (-1)^ \left rightB_k = \frac, and the inversion of this sum (for , ) : \frac\sum_^m (-1)^k \left rightB_ = A_. Here the number are the rational Akiyama–Tanigawa numbers, the first few of which are displayed in the following table. : The Akiyama–Tanigawa numbers satisfy a simple recurrence relation which can be exploited to iteratively compute the Bernoulli numbers. This leads to the algorithm shown in the section 'algorithmic description' above. See /. An ''autosequence'' is a sequence which has its inverse binomial transform equal to the signed sequence. If the main diagonal is zeroes = , the autosequence is of the first kind. Example: , the Fibonacci numbers. If the main diagonal is the first upper diagonal multiplied by 2, it is of the second kind. Example: /, the second Bernoulli numbers (see ). The Akiyama–Tanigawa transform applied to = 1/ leads to (''n'') / (''n'' + 1). Hence: : See and . () / () are the second (fractional) Euler numbers and an autosequence of the second kind. :( = ) × ( = ) = = . Also valuable for / (see Connection with Worpitzky numbers).


Connection with Pascal's triangle

There are formulas connecting Pascal's triangle to Bernoulli numbers : B^_n=\frac~~~ where , A_n, is the determinant of a n-by-n Hessenberg matrix part of Pascal's triangle whose elements are: a_ = \begin 0 & \text k>1+i \\ & \text \end Example: : B^_6 =\frac=\frac=\frac 1


Connection with Eulerian numbers

There are formulas connecting Eulerian numbers to Bernoulli numbers: :\begin \sum_^n (-1)^m \left \langle \right \rangle &= 2^ (2^-1) \frac, \\ \sum_^n (-1)^m \left \langle \right \rangle \binom^ &= (n+1) B_n. \end Both formulae are valid for if is set to . If is set to − they are valid only for and respectively.


A binary tree representation

The Stirling polynomials are related to the Bernoulli numbers by . S. C. Woon described an algorithm to compute as a binary tree: : Woon's recursive algorithm (for ) starts by assigning to the root node . Given a node of the tree, the left child of the node is and the right child . A node is written as in the initial part of the tree represented above with ± denoting the sign of . Given a node the factorial of is defined as : N! = a_1 \prod_^ a_k!. Restricted to the nodes of a fixed tree-level the sum of is , thus : B_n = \sum_\stackrel \frac. For example: : : :


Integral representation and continuation

The integral : b(s) = 2e^\int_0^\infty \frac \frac = \frac\frac(-i)^s= \frac has as special values for . For example, and . Here, is the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
, and is the imaginary unit. Leonhard Euler (''Opera Omnia'', Ser. 1, Vol. 10, p. 351) considered these numbers and calculated : \begin p &= \frac\left(1+\frac+\frac+\cdots \right) = 0.0581522\ldots \\ q &= \frac\left(1+\frac+\frac+\cdots \right) = 0.0254132\ldots \end Another similar integral representation is : b(s) = -\frac\int_0^\infty \frac \frac= \frac\int_0^\infty \frac \frac.


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 are in magnitude approximately times larger than the Bernoulli numbers . In consequence: : \pi \sim 2 (2^ - 4^) \frac. 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 odd , (with the exception ), it suffices to consider the case when is even. :\begin B_n &= \sum_^\binom \fracE_k & n&=2, 4, 6, \ldots \\ pt E_n &= \sum_^n \binom \frac B_k & n&=2,4,6,\ldots \end These conversion formulas express a connection 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 as : S_n = 2 \left(\frac\right)^n \sum_^\infty (4k+1)^ \qquad k=0,-1,1,-2,2,\ldots and 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 in a landmark paper ''De summis serierum reciprocarum'' (On the sums of series of reciprocals) and has fascinated mathematicians ever since. The first few of these numbers are : S_n = 1,1,\frac,\frac,\frac, \frac,\frac,\frac,\frac,\frac,\ldots ( / ) These are the coefficients in the expansion of . The Bernoulli numbers and Euler numbers are best understood as ''special views'' of these numbers, selected from the sequence and scaled for use in special applications. : \begin B_ &= (-1)^ n \text\frac\, S_\ , & n&= 2, 3, \ldots \\ E_n &= (-1)^ n \textn! \, S_ & n &= 0, 1, \ldots \end The expression evenhas the value 1 if is even and 0 otherwise (
Iverson bracket In mathematics, the Iverson bracket, named after Kenneth E. Iverson, is a notation that generalises the Kronecker delta, which is the Iverson bracket of the statement . It maps any statement to a function of the free variables in that statement. ...
). These identities show that the quotient of Bernoulli and Euler numbers at the beginning of this section is just the special case of when is even. The are rational approximations to and two successive terms always enclose the true value of . Beginning with the sequence starts ( / ): : 2, 4, 3, \frac, \frac, \frac, \frac, \frac, \frac, \frac,\ldots \quad \longrightarrow \pi. These rational numbers also appear in the last paragraph of Euler's paper cited above. Consider the Akiyama–Tanigawa transform for the sequence () / (): : From the second, the numerators of the first column are the denominators of Euler's formula. The first column is − × .


An algorithmic view: the Seidel triangle

The sequence ''S''''n'' has another unexpected yet important property: The denominators of ''S''''n'' divide the factorial . In other words: the numbers , sometimes called Euler zigzag numbers, are integers. : T_n = 1,\,1,\,1,\,2,\,5,\,16,\,61,\,272,\,1385,\,7936,\,50521,\,353792,\ldots \quad n=0, 1, 2, 3, \ldots (). See (). Thus the above representations of the Bernoulli and Euler numbers can be rewritten in terms of this sequence as :\begin B_n &= (-1)^ \text\frac\, T_\ & n &= 2, 3, \ldots \\ E_n &= (-1)^ \textT_ & n &= 0, 1, \ldots \end These identities make it easy to compute the Bernoulli and Euler numbers: the Euler numbers are given immediately by and the Bernoulli numbers are obtained from by some easy shifting, avoiding rational arithmetic. What remains is to find a convenient way to compute the numbers . However, already in 1877 Philipp Ludwig von Seidel published an ingenious algorithm, which makes it simple to calculate . #Start by putting 1 in row 0 and let denote the number of the row currently being filled #If is odd, then put the number on the left end of the row in the first position of the row , 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 is even, proceed similar in the other direction. Seidel's algorithm is in fact much more general (see the exposition of Dominique Dumont ) and was rediscovered several times thereafter. Similar to Seidel's approach D. E. Knuth and T. J. Buckholtz gave a recurrence equation for the numbers and recommended this method for computing and 'on electronic computers using only simple operations on integers'. V. I. Arnold rediscovered Seidel's algorithm and later Millar, Sloane and Young popularized Seidel's algorithm under the name boustrophedon transform. Triangular form: : Only , with one 1, and , with two 1s, are in the OEIS. Distribution with a supplementary 1 and one 0 in the following rows: : This is , a signed version of . The main andiagonal is . The main diagonal is . The central column is . Row sums: 1, 1, −2, −5, 16, 61.... See . See the array beginning with 1, 1, 0, −2, 0, 16, 0 below. The Akiyama–Tanigawa algorithm applied to () / () yields: : 1. The first column is . Its binomial transform leads to: : The first row of this array is . The absolute values of the increasing antidiagonals are . The sum of the antidiagonals is 2. The second column is . Its binomial transform yields: : The first row of this array is . The absolute values of the second bisection are the double of the absolute values of the first bisection. Consider the Akiyama-Tanigawa algorithm applied to () / ( () = abs( ()) + 1 = . : The first column whose the absolute values are could be the numerator of a trigonometric function. is an autosequence of the first kind (the main diagonal is ). The corresponding array is: : The first two upper diagonals are =  × . The sum of the antidiagonals is = 2 × (''n'' + 1). − is an autosequence of the second kind, like for instance / . Hence the array: : The main diagonal, here , is the double of the first upper one, here . The sum of the antidiagonals is = 2 × (1).  −  = 2 × .


A combinatorial view: 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 and André made a startling discovery. :\begin \tan x &= x + \frac + \frac + \frac + \frac + \cdots\\ pt \sec x &= 1 + \frac + \frac + \frac + \frac + \frac + \cdots \end The coefficients are the Euler numbers of odd and even index, respectively. In consequence the ordinary expansion of has as coefficients the rational numbers . : \tan x + \sec x = 1 + x + \tfracx^2 + \tfracx^3 + \tfracx^4 + \tfracx^5 + \tfracx^6 + \cdots André then succeeded by means of a recurrence argument to show that the alternating permutations of odd size are enumerated by the Euler numbers of odd index (also called tangent numbers) and the alternating permutations of even size by the Euler numbers of even index (also called secant numbers).


Related sequences

The arithmetic mean of the first and the second Bernoulli numbers are the associate Bernoulli numbers: , , , , , / . Via the second row of its inverse Akiyama–Tanigawa transform , they lead to Balmer series / . The Akiyama–Tanigawa algorithm applied to () / () leads to the Bernoulli numbers / , / , or without , named intrinsic Bernoulli numbers . : Hence another link between the intrinsic Bernoulli numbers and the Balmer series via (). () = 0, 2, 1, 6,... is a permutation of the non-negative numbers. The terms of the first row are f(n) = . 2, f(n) is an autosequence of the second kind. 3/2, f(n) leads by its inverse binomial transform to 3/2 −1/2 1/3 −1/4 1/5 ... = 1/2 + log 2. Consider g(n) = 1/2 - 1 / (n+2) = 0, 1/6, 1/4, 3/10, 1/3. The Akiyama-Tanagiwa transforms gives: : 0, g(n), is an autosequence of the second kind. Euler () / () without the second term () are the fractional intrinsic Euler numbers The corresponding Akiyama transform is: : The first line is . preceded by a zero is an autosequence of the first kind. It is linked to the Oresme numbers. The numerators of the second line are preceded by 0. The difference table is: :


Arithmetical properties of the Bernoulli numbers

The Bernoulli numbers can be expressed in terms of the Riemann zeta function as for integers provided for the expression is understood as the limiting value and the convention is used. This intimately relates them to the values of the zeta function at negative integers. As such, they could be expected to have and do have deep arithmetical properties. For example, the
Agoh–Giuga conjecture In number theory the Agoh–Giuga conjecture on the Bernoulli numbers ''B'k'' postulates that ''p'' is a prime number if and only if :pB_ \equiv -1 \pmod p. It is named after Takashi Agoh and Giuseppe Giuga. Equivalent formulation The conje ...
postulates that is a prime number if and only if is congruent to −1 modulo . Divisibility properties of the Bernoulli numbers are related to the ideal class groups of cyclotomic fields by a theorem of Kummer and its strengthening in the Herbrand-Ribet theorem, and to class numbers of real quadratic fields by Ankeny–Artin–Chowla.


The Kummer theorems

The Bernoulli numbers are related to Fermat's Last Theorem (FLT) by
Kummer Kummer is a German surname. Notable people with the surname include: *Bernhard Kummer (1897–1962), German Germanist *Clare Kummer (1873—1958), American composer, lyricist and playwright *Clarence Kummer (1899–1930), American jockey * Christo ...
's theorem, which says: :If the odd prime does not divide any of the numerators of the Bernoulli numbers then has no solutions in nonzero integers. Prime numbers with this property are called regular primes. Another classical result of Kummer are the following congruences. :Let be an odd prime and an even number such that does not divide . Then for any non-negative integer :: \frac \equiv \frac \pmod. A generalization of these congruences goes by the name of -adic continuity.


-adic continuity

If , and are positive integers such that and are not divisible by and , then :(1-p^)\frac \equiv (1-p^)\frac n \pmod. Since , this can also be written :\left(1-p^\right)\zeta(u) \equiv \left(1-p^\right)\zeta(v) \pmod, where and , so that and are nonpositive and not congruent to 1 modulo . This tells us that the Riemann zeta function, with taken out of the Euler product formula, is continuous in the -adic numbers on odd negative integers congruent modulo to a particular , and so can be extended to a continuous function for all -adic integers \mathbb_p, the -adic zeta function.


Ramanujan's congruences

The following relations, due to Ramanujan, provide a method for calculating Bernoulli numbers that is more efficient than the one given by their original recursive definition: :\binom B_m=\begin \frac-\sum\limits_^\frac\binomB_, & \text m\equiv 0\pmod 6;\\ \frac-\sum\limits_^\frac\binomB_, & \text m\equiv 2\pmod 6;\\ -\frac-\sum\limits_^\frac\binomB_, & \text m\equiv 4\pmod 6.\end


Von Staudt–Clausen theorem

The von Staudt–Clausen theorem was given by Karl Georg Christian von Staudt and Thomas Clausen independently in 1840. The theorem states that for every , : B_ + \sum_ \frac1p is an integer. The sum extends over all primes for which divides . A consequence of this is that the denominator of is given by the product of all primes for which divides . In particular, these denominators are square-free and divisible by 6.


Why do the odd Bernoulli numbers vanish?

The sum :\varphi_k(n) = \sum_^n i^k - \frac 2 can be evaluated for negative values of the index . Doing so will show that it is an odd function for even values of , which implies that the sum has only terms of odd index. This and the formula for the Bernoulli sum imply that is 0 for even and ; and that the term for 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 the number is an integer. This seems trivial if one knows beforehand that the integer in question is zero. However, by applying Worpitzky's representation one gets : 2B_n =\sum_^n (-1)^m \fracm! \left\ = 0\quad(n>1 \text) 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 be the number of surjective maps from to , then . The last equation can only hold if : \sum_^ \frac 2 S_=\sum_^n \frac S_ \quad (n>2 \text). This equation can be proved by induction. The first two examples of this equation are :, :. Thus the Bernoulli numbers vanish at odd index because some non-obvious combinatorial identities are embodied in the Bernoulli numbers.


A restatement of the Riemann hypothesis

The connection between the Bernoulli numbers and the Riemann zeta function is strong enough to provide an alternate formulation of the
Riemann hypothesis In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part . Many consider it to be the most important unsolved problem in ...
(RH) which uses only the Bernoulli numbers. In fact Marcel Riesz proved that the RH is equivalent to the following assertion: :For every there exists a constant (depending on ) such that as . Here is the
Riesz function In mathematics, the Riesz function is an entire function defined by Marcel Riesz in connection with the Riemann hypothesis, by means of the power series :(x) = -\sum_^\infty \frac=x \sum_^\infty \frac \exp\left(\frac\right). If we set F(x) = \frac1 ...
: R(x) = 2 \sum_^\infty \frac = 2\sum_^\infty \frac. denotes the rising factorial power in the notation of
D. E. Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist, mathematician, and professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer sci ...
. The numbers occur frequently in the study of the zeta function and are significant because is a -integer for primes where does not divide . The are called ''divided Bernoulli numbers''.


Generalized Bernoulli numbers

The generalized Bernoulli numbers are certain
algebraic number An algebraic number is a number that is a root of a non-zero polynomial in one variable with integer (or, equivalently, rational) coefficients. For example, the golden ratio, (1 + \sqrt)/2, is an algebraic number, because it is a root of the po ...
s, defined similarly to the Bernoulli numbers, that are related to special values of Dirichlet -functions in the same way that Bernoulli numbers are related to special values of the Riemann zeta function. Let be a Dirichlet character modulo . The generalized Bernoulli numbers attached to are defined by : \sum_^f \chi(a) \frac = \sum_^\infty B_\frac. Apart from the exceptional , we have, for any Dirichlet character , that if . Generalizing the relation between Bernoulli numbers and values of the Riemann zeta function at non-positive integers, one has the for all integers : : L(1-k,\chi)=-\frack, where is the Dirichlet -function of .


Eisenstein–Kronecker number

Eisenstein–Kronecker number In mathematics, Eisenstein–Kronecker numbers are an analogue for imaginary quadratic fields of generalized Bernoulli numbers. They are defined in terms of classical Eisenstein–Kronecker series, which were studied by Kenichi Bannai and Shinich ...
s are an analogue of the generalized Bernoulli numbers for imaginary quadratic fields. They are related to critical ''L''-values of Hecke characters.


Appendix


Assorted identities

\frac - \sum_^ \binom\frac B_k =H_n B_n , 11 = Let . Yuri Matiyasevich found (1997) : (n+2)\sum_^B_k B_-2\sum_^\binom B_l B_=n(n+1)B_n , 12 = ''Faber– Pandharipande
Zagier Don Bernard Zagier (born 29 June 1951) is an American-German mathematician whose main area of work is number theory. He is currently one of the directors of the Max-Planck-Institut für Mathematik, Max Planck Institute for Mathematics in Bonn, Ger ...
–Gessel identity'': for , : \frac\left(B_(x)+\sum_^\frac \frac\right) -\sum_^\binom\frac B_k(x) =H_B_n(x). Choosing or results in the Bernoulli number identity in one or another convention. , 13 = The next formula is true for if , but only for if . : \sum_^n \binom \frac = \frac , 14 = Let . Then : -1 + \sum_^n \binom \fracB_k(1) = 2^n and : -1 + \sum_^n \binom \fracB_(0) = \delta_ , 15 = A reciprocity relation of M. B. Gelfand: : (-1)^ \sum_^k \binom \frac + (-1)^ \sum_^m \binom\frac = \frac


See also

* Bernoulli polynomial * Bernoulli polynomials of the second kind * Bell number * Euler number * Genocchi number *
Kummer's congruences In mathematics, Kummer's congruences are some Congruence relation, congruences involving Bernoulli numbers, found by . used Kummer's congruences to define the p-adic zeta function. Statement The simplest form of Kummer's congruence states that ...
* Poly-Bernoulli number * Hurwitz zeta function * Euler summation * Stirling polynomial *
Sums of powers In mathematics and statistics, sums of powers occur in a number of contexts: * Sums of squares arise in many contexts. For example, in geometry, the Pythagorean theorem involves the sum of two squares; in number theory, there are Legendre's thre ...


Notes


References

* . * * . * . * . * . *. * . * . * * * . * . * * . *. *. *. *. * . * . * . *. * . * . Footnotes


External links

* * '' The first 498 Bernoulli Numbers'' from Project Gutenberg
A multimodular algorithm for computing Bernoulli numbers

The Bernoulli Number Page
* Bernoulli number programs a
LiteratePrograms
* * * * * * {{authority control Number theory Topology Integer sequences