The formula says
Faulhaber himself did not know the formula in this form, but only computed the first seventeen polynomials; the general form was established with the discovery of the Bernoulli numbers (see History section below). The derivation of Faulhaber's formula is available in The Book of Numbers by John Horton Conway and Richard K. Guy.
The older expression given earlier follows from this one as a result of the (somewhat coincidental) fact that when the sum Sp(n) is extended to negative integers using the property Sp(n−1)=Sp(n)−np, we have
Since Sp(−1)=Sp(0)−0p, it is 0 for p>0, but is indeterminate when p=0. S0(n)=n, however, so the convention is that Sp(−1) is the negated Kronecker delta, giving
The subtraction of np (when it is not cancelled by the delta for p=0) changes the sign of B1 (it is the coefficient of np), giving
in terms of B1=−1, which is essentially the same as the conventional expression given earlier.
The use of this expression at n=−1 also gives
for a recurrence relation giving the B1=−1 sequence.
- (the triangular numbers)
- (the square pyramidal numbers)
Let the sums Sp(n) be defined as
If the closed forms for Sp(n) can be expressed as polynomials they will not have constant terms, and will be of the form
for some matrix of coefficients ap,k. Substituting this into the inductive part of the definition above, applying the binomial theorem, and rearranging, we have
The double sum on the left hand side can be rearranged, noting that j≤k
Aligning coefficients then gives the relation
If p is a natural number (the reasoning so far has not assumed it is), then the right hand side is 0 when j>p, and we can assert that ap,k=0 for all k>p. Note that this is not the only possible solution; an infinite series that satisfied this property for its coefficients would also be valid, and would correspond to a closed form with a periodic component that was 0 at every natural number, such as sin(πn). The multiple solutions are an immediate result of the closed forms being defined only at the integers.
Asserting now that the matrix of coefficients is triangular, and multiplying both sides by j!, we have the recurrence relation giving all coefficients for any p (the first at j=p, the next at j=p-1, etc.).
which makes use of the Pochhammer symbol for the falling factorial.
Just as there is a diagonal relationship between binomial coefficients and between falling factorials, there is such a relationship between these coefficients, which can be demonstrated by 'breaking' the falling factorials at an arbitrary number t≤j.
Substituting k=k'+t and rearranging gives
This is of the same form as the original recurrence relation, which shows that
In particular, for k'=0, we have
The linear coefficients ap,0 are thus fundamental. These are the Bernoulli numbers, and so we have the final form
with each Bernoulli number derivable from this formula itself at n=1
and so B1=1 here.
Relation to Bernoulli polynomials
One may also write
where Bj (t) is the jth Bernoulli polynomial.
Then one can say
The term Faulhaber polynomials is used by some authors to refer to something other than the polynomial sequence given above. Faulhaber observed that if p is odd, then
is a polynomial function of
The first of these identities, for the case p = 3, is known as Nicomachus's theorem. Some authors call the polynomials on the right hand sides of these identities "Faulhaber polynomials in a". The polynomials in the right-hand sides are divisible by a 2 because for j > 1 odd the Bernoulli number Bj is 0.
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 a.
Since a = n(n + 1)/2, these formulae show that for an odd power (greater than 1), the sum is a polynomial in n having factors n2 and (n + 1)2, while for an even power the polynomial has factors n, n + ½ and n + 1. As an application, the atomic numbers of every other alkaline earth metal (Be, Ca, Ba) are given by (4/3)n(n + 1/2)(n + 1).
Faulhaber's formula is also called Bernoulli's formula. Faulhaber did not know the properties of the coefficients 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 above.
- John H. Conway, Richard Guy (1996). The Book of Numbers. Springer. p. 107. ISBN 0-387-97993-X.
- Donald E. Knuth (1993). "Johann Faulhaber and sums of powers". Math. Comp. (American Mathematical Society) 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.
- Jacobi, Carl (1834). "De usu legitimo formulae summatoriae Maclaurinianae". Journal für die reine und angewandte Mathematik 12. pp. 263–72.
- Weisstein, Eric W., "Faulhaber's formula", MathWorld.
- Johann Faulhaber (1631). Academia Algebrae - Darinnen die miraculosische Inventiones zu den höchsten Cossen weiters continuirt und profitiert werden. A very rare book, but Knuth has placed a photocopy in the Stanford library, call number QA154.8 F3 1631a f MATH. (online copy at Google Books)
- Beardon, A. F. "Sums of Powers of Integers". MAA. Retrieved 2011-10-23.