In mathematics, Faulhaber's formula, named after the early 17th century mathematician Johann Faulhaber, expresses the sum of the
th powers of the first
positive integers
as a polynomial in
. In modern notation, Faulhaber's formula is
Here,
is the binomial coefficient "
choose
", and the
are the Bernoulli numbers with the convention that
.
Faulhaber's formula concerns expressing the sum of the
th powers of the first
positive integers
as a
th-degree polynomial function of
.
The first few examples are well known. For
, we have
For
, we have the triangular numbers
For
, we have the square pyramidal numbers
The coefficients of Faulhaber's formula in its general form involve the Bernoulli numbers
. The Bernoulli numbers begin
where here we use the convention that
. The Bernoulli numbers have various definitions (see Bernoulli number#Definitions), such as that they are the coefficients of the exponential generating function
Then Faulhaber's formula is that
Here, the
are the Bernoulli numbers as above, and
is the binomial coefficient "
choose
".
Examples
So, for example, one has for
,
The first seven examples of Faulhaber's formula are
History
Ancient period
The history of the problem begins in antiquity, its special cases arising as solutions to related inquiries. The case
coincides historically with the problem of calculating the sum of the first
terms of an arithmetic progression. In chronological order, early discoveries include:
, a formula known by the Pythagorean school for its connection with triangular numbers.
a result showing that the sum of the first
positive odd numbers is a perfect square. This formula was likely also known to the Pythagoreans, who in constructing figurate numbers realized that the gnomon of the
th perfect square is precisely the
th odd number.
a formula that calculates the sum of the squares of the first
positive integers, as demonstrated in Spirals, a work of Archimedes.[1]
a formula that calculates the sum of the cubes of the first
positive integers, discovered as a corollary of a theorem of Nicomachus of Gerasa.[1]
Middle period
Over time, many other mathematicians became interested in the problem and made various contributions to its solution. These include Aryabhata, Al-Karaji, Ibn al-Haytham, Thomas Harriot, Johann Faulhaber, Pierre de Fermat and Blaise Pascal who recursively solved the problem of the sum of powers of successive integers by considering an identity that allowed to obtain a polynomial of degree
already knowing the previous ones.[1]
Faulhaber's formula is also called Bernoulli's formula. Faulhaber did not know the properties of the coefficients later discovered by Bernoulli. Rather, he knew at least the first 17 cases, as well as the existence of the Faulhaber polynomials for odd powers described below.[2]
In 1713, Jacob Bernoulli published under the title Summae Potestatum an expression of the sum of the
powers of the
first integers as a
th-degree polynomial function of
, with coefficients involving numbers
, now called Bernoulli numbers:

Introducing also the first two Bernoulli numbers (which Bernoulli did not), the previous formula becomes
using the Bernoulli number of the second kind for which
, or
using the Bernoulli number of the first kind for which
A rigorous proof of these formulas and Faulhaber's assertion that such formulas would exist for all odd powers took until Carl Jacobi (1834), two centuries later. Jacobi benefited from the progress of mathematical analysis using the development in infinite series of an exponential function generating Bernoulli numbers.
Modern period
In 1982, A.W.F. Edwards published an article[3] showing that Pascal's identity can be expressed by means of triangular matrices containing a modified Pascal's triangle:
[4][5]
This example is limited by the choice of a fifth-order matrix, but the underlying method is easily extendable to higher orders. Writing the equation as
and multiplying the two sides of the equation to the left by
, we obtain
, thereby arriving at the polynomial coefficients without directly using the Bernoulli numbers. Expanding on Edwards' work, some authors researching the power-sum problem have taken the matrix path[6], leveraging useful tools such as the Vandermonde vector.[7] Other researchers continue to explore through the traditional analytic route[8], generalizing the problem of the sum of successive integers to any geometric progression.[9][10]
Proof with exponential generating function
Let
denote the sum under consideration for integer
Define the following exponential generating function with (initially) indeterminate
We find
This is an entire function in
so that
can be taken to be any complex number.
We next recall the exponential generating function for the Bernoulli polynomials
where
denotes the Bernoulli number with the convention
. This may be converted to a generating function with the convention
by the addition of
to the coefficient of
in each
, see Bernoulli polynomials#Explicit formula for example.
does not need to be changed.
so that
It follows that
for all
.
Faulhaber polynomials
The term Faulhaber polynomials is used by some authors to refer to another polynomial sequence related to that given above.
Write
Faulhaber observed that if
is odd then
is a polynomial function of
.
For
, it is clear that
For
, the result that
is known as Nicomachus's theorem.
Further, we have
(see OEIS: A000537, OEIS: A000539, OEIS: A000541, OEIS: A007487, OEIS: A123095).
More generally,
Some authors call the polynomials in
on the right-hand sides of these identities Faulhaber polynomials. These polynomials are divisible by
because the Bernoulli number
is 0 for odd
.
Inversely, writing for simplicity
, we have
and generally
Faulhaber also knew that if a sum for an odd power is given by
then the sum for the even power just below is given by
Note that the polynomial in parentheses is the derivative of the polynomial above with respect to
.
Since
, these formulae show that for an odd power (greater than 1), the sum is a polynomial in
having factors
and
, while for an even power the polynomial has factors
,
and
.
Expressing products of power sums as linear combinations of power sums
Products of two (and thus by iteration, several) power sums
can be written as linear combinations of power sums with either all degrees even or all degrees odd, depending on the total degree of the product as a polynomial in
, e.g.
. The sums of coefficients on both sides must be equal, which follows by letting
. Some general formulae include:
The latter formula may be used to recursively compute Faulhaber polynomials. Note that in the second formula, for even
the term corresponding to
is different from the other terms in the sum, while for odd
, this additional term vanishes because of
. Beardon has published formulas for powers of
, including a 1996 paper[12] which demonstrated that integer powers of
can be written as a linear sum of terms in the sequence
:

The first few resulting identities are then


.
Although other specific cases of
– including
and
– are known, no general formula for
for positive integers
and
has yet been reported. A 2019 paper by Derby[13] proved that:
.
This can be calculated in matrix form, as described below. The
case replicates Beardon's formula for
and confirms the above-stated results for
and
or
. Results for higher powers include:


.
Faulhaber's formula can also be written in a form using matrix multiplication.
Take the first seven examples
Writing these polynomials as a product between matrices gives
where
Surprisingly, inverting the matrix of polynomial coefficients yields something more familiar:
In the inverted matrix, Pascal's triangle can be recognized, without the last element of each row, and with alternating signs.
Let
be the matrix obtained from
by changing the signs of the entries in odd diagonals, that is by replacing
by
, let
be the matrix obtained from
with a similar transformation, then
and
Also
This is because it is evident that
and that therefore polynomials of degree
of the form
subtracted the monomial difference
they become
.
This is true for every order, that is, for each positive integer m, one has
and
Thus, it is possible to obtain the coefficients of the polynomials of the sums of powers of successive integers without resorting to the numbers of Bernoulli but by inverting the matrix easily obtained from the triangle of Pascal.[14][15]
Variations
- Replacing
with
, we find the alternative expression:
- Subtracting
from both sides of the original formula and incrementing
by
, we get
- where
can be interpreted as "negative" Bernoulli numbers with
.
- We may also expand
in terms of the Bernoulli polynomials to find which implies Since
whenever
is odd, the factor
may be removed when
.
- It can also be expressed in terms of Stirling numbers of the second kind and falling factorials as[16] This is due to the definition of the Stirling numbers of the second kind as monomials in terms of falling factorials, and the behaviour of falling factorials under the indefinite sum.
Interpreting the Stirling numbers of the second kind,
, as the number of set partitions of
into
parts, the identity has a direct combinatorial proof since both sides count the number of functions
with
maximal. The index of summation on the left hand side represents
, while the index on the right hand side is represents the number of elements in the image of f.
- This in particular yields the examples below – e.g., take k = 1 to get the first example. In a similar fashion we also find
- A generalized expression involving the Eulerian numbers
is
.
- Faulhaber's formula was generalized by Guo and Zeng to a q-analog.[18]
Relationship to Riemann zeta function
Using
, one can write
If we consider the generating function
in the large
limit for
, then we find
Heuristically, this suggests that
This result agrees with the value of the Riemann zeta function
for negative integers
on appropriately analytically continuing
.
Faulhaber's formula can be written in terms of the Hurwitz zeta function:
In the umbral calculus, one treats the Bernoulli numbers
,
,
, ... as if the index
in
were actually an exponent, and so as if the Bernoulli numbers were powers of some object B.
Using this notation, Faulhaber's formula can be written as
Here, the expression on the right must be understood by expanding out to get terms
that can then be interpreted as the Bernoulli numbers. Specifically, using the binomial theorem, we get
A derivation of Faulhaber's formula using the umbral form is available in The Book of Numbers by John Horton Conway and Richard K. Guy.[19]
Classically, this umbral form was considered as a notational convenience. In the modern umbral calculus, on the other hand, this is given a formal mathematical underpinning. One considers the linear functional
on the vector space of polynomials in a variable
given by
Then one can say
Notes
- ^ a b c Beery, Janet (2009). "Sum of powers of positive integers". MAA Mathematical Association of America. doi:10.4169/loci003284.
- ^ Donald E. Knuth (1993). "Johann Faulhaber and sums of powers". Mathematics of Computation. 61 (203): 277–294. arXiv:math.CA/9207222. doi:10.2307/2152953. JSTOR 2152953. The arxiv.org paper has a misprint in the formula for the sum of 11th powers, which was corrected in the printed version. Correct version. Archived 2010-12-01 at the Wayback Machine
- ^ Edwards, Anthony William Fairbank (1982). "Sums of powers of integers: A little of the History". The Mathematical Gazette. 66 (435): 22–28. doi:10.2307/3617302. JSTOR 3617302. S2CID 125682077.
- ^ The first element of the vector of the sums is
and not
because of the first addend, the indeterminate form
, which should otherwise be assigned a value of 1
- ^ Edwards, A.W.F. (1987). Pascal's Arithmetical Triangle: The Story of a Mathematical Idea. Charles Griffin & C. p. 84. ISBN 0-8018-6946-3.
- ^ Kalman, Dan (1988). "Sums of Powers by matrix method". Semantic scholar. S2CID 2656552.
- ^ Helmes, Gottfried (2006). "Accessing Bernoulli-Numbers by Matrix-Operations" (PDF). Uni-Kassel.de.
- ^ Howard, F.T (1994). "Sums of powers of integers via generating functions" (PDF). CiteSeerX 10.1.1.376.4044.
- ^ Lang, Wolfdieter (2017). "On Sums of Powers of Arithmetic Progressions, and Generalized Stirling, Eulerian and Bernoulli numbers". arXiv:1707.04451 [math.NT].
- ^ Tan Si, Do (2017). "Obtaining Easily Sums of Powers on Arithmetic Progressions and Properties of Bernoulli Polynomials by Operator Calculus". Applied Physics Research. 9. Canadian Center of Science and Education. ISSN 1916-9639.
- ^ Gulley, Ned (March 4, 2010), Shure, Loren (ed.), "Nicomachus's Theorem", Loren on the Art of MATLAB, Matlab Central
- ^ Beardon, A. F. (1996). "Sums of Powers of Integers". The American Mathematical Monthly. 103 (3): 201–213. doi:10.1080/00029890.1996.12004725.
- ^ Derby, Nigel M. (2019). "The continued search for sums of powers". The Mathematical Gazette. 103 (556): 94–100. doi:10.1017/mag.2019.11.
- ^ Pietrocola, Giorgio (2017), On polynomials for the calculation of sums of powers of successive integers and Bernoulli numbers deduced from the Pascal's triangle, Academia.edu.
- ^ Derby, Nigel (2015), "A search for sums of powers", The Mathematical Gazette, 99 (546): 416–421, doi:10.1017/mag.2015.77, S2CID 124607378.
- ^ Concrete Mathematics, 1st ed. (1989), p. 275.
- ^ Kieren MacMillan, Jonathan Sondow (2011). "Proofs of power sum and binomial coefficient congruences via Pascal's identity". American Mathematical Monthly. 118 (6): 549–551. arXiv:1011.0076. doi:10.4169/amer.math.monthly.118.06.549. S2CID 207521003.
- ^ Guo, Victor J. W.; Zeng, Jiang (30 August 2005). "A q-Analogue of Faulhaber's Formula for Sums of Powers". The Electronic Journal of Combinatorics. 11 (2). arXiv:math/0501441. Bibcode:2005math......1441G. doi:10.37236/1876. S2CID 10467873.
- ^ John H. Conway, Richard Guy (1996). The Book of Numbers. Springer. p. 107. ISBN 0-387-97993-X.
External links