1. Notation
For the sake of convenience, we shall denote the sum of powers of the first
n natural numbers as follows
As we shall see in the following sections, the notation will reduce the need to write the sum notation which could be cumbersome to work with.
2. The Evaluation of Special Kind of Integral Involving Floor Function
As we will see in the proof of the recursive formula, the proof will involve the evaluation of the following integral.
where
and
n are positive integers
The above integral cannot be evaluated by using the regular approach, namely, by the product rule, since the function has discontinuities. Thus, in order to evaluate the integral, there is one important property of floor function that we must consider. That is, for all . The property then motivates us to use another approach to calculate the area under the curve of the integrand that we have above. The idea is to calculate separately the area under the curve on interval for then we sum them up. Also note that if k is any integer that we choose from then for all t in the interval , which is a constant.
Lemma 1.
For the above integral, we have
Proof. For the sake of convenience, let us denote the area of the integrand on
as
. More precisely,
Recall that
for all t ∈ (k, k+1) so we can take it out of the integral. Now,
Therefore, if
I denotes the integral that we are evaluating, then
By Binomial Theorem, now we have
Substituting (
2) to (
1), we have
Interchanging the sum and applying our notation, now we find that
□
3. Main Results
3.1. Recursive Formula of Sum of Powers and Bernoulli Numbers
Theorem 1.
Let then,
Proof. Let us begin with Abel’s Summation Formula [
2]. We assume that n is a positive integer. Hence,
Let
The integral above is the special case of the integral that we have solved in the previous section shown in Lemma 1 where
Let
Hence,
□
The formula above directly implies a formula to find Bernoulli numbers. In this section, we shall derive such formula. The first thing we need to note is that always equals zero for all positive integer n. Another observation is that always appears as the coefficient of the first power of n in the polynomial .
Proof. From Theorem 1, we have
Now we can expand the formula as follows
Let
Now, we separate the summation of the even terms and the odd terms
Now, we only need to consider the coefficient of the first power of n. In the following, we now write
instead of
and we only write the coefficient of the first power of each polynomial we find.Therefore, the coefficient of n in the expansion
is 1 and the coefficient of n in
is
. Therefore, we write
Since
for all positive integers
, the second summation term vanishes. Therefore,
□
3.2. Generalization of Theorem 3.1
We shall generalize Theorem 1 to compute the sum of powers of some arithmetic progression. Firstly, we define . can be easily computed by using the usual arithmetic series formula. In this subsection, we will show that we can compute given , , ... . However, we should firstly evaluate the more general form of the integral in Lemma 1 to prove the generalization. We will use the same approach as in the proof of Lemma 1.
Lemma 2.
For the following integral, we have
Proof. Using the same approach as the proof of Lemma 1, we have
Applying Binomial Expansion, we obtain
Finally, we have
□
Theorem 3.
Let , then
Proof. Let
. By Abel Summation Formula,
Using Lemma 2, we rewrite the integral as follows
Now, let
□
As a quick check, when and , the formula reduces to the formula in Theorem 1.
3.3. Alternative Proof of Theorem 3.1
Alternatively, Theorem 1 can be also derived from Pascal’s Sum of Powers Identity [
3]
Theorem 4 (Pascal’s Sum of Powers Identity)
. Let then,
Alternative Proof of Theorem 1. For
, we have
While for
, we have
Substracting Equation (
4) from Equation (
3),
By Pascal’s Binomial Coefficient Identity,
Rearranging,
□
4. Corollaries
Corollary 1. For all odd numbers 2m-1, we have
Proof. By Theorem 1,
The above expression can be written as follows
While for the sum of even power
we have
We see that if the above equation is multiplied by
, it will be divisible by
. Therefore, if we substitute (6) to (5), it will be clear that
divides
□
Remark 1. The fact that is the underlying idea of Faulhaber’s Formula for the sum of odd powers [4]
Corollary 2 (Nicomachus’ Theorem). The sum of first n cubes equals the square of the sum of the first n natural numbers
Proof. It is generally known that
. Now we shall apply Theorem 1 to find the formula for the sum of squares and the formula for the sum of cubes.
Once again, we apply the formula to obtain the sum of cubes
Collecting the like terms and simplifying,
□
References
- Beardon, A.F. Sums of Powers of Integers. The American Mathematical Monthly 1996, 103, 201–213. [Google Scholar] [CrossRef]
- Apostol, T.M. Introduction to Analytic Number Theory; Springer Science and Business Media, 2013. [Google Scholar]
- Pascal, B., Sommation des puissances numriques; 1964; Vol. III, Oeuvres Compltes, pp. 341–367.
- Knuth, D.E. Johann Faulhaber and sums of powers. Mathematics of Computation 1993, 61, 277–294. [Google Scholar] [CrossRef]
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).