Power-Sum Problem
Power-Sum Problem
Arkady M. Alt
Definition 1 (Power Sum Problem) Find the sum S p (n) := 1 p + 2 p + ... + n p where p, n ∈ N (or, using sum notation,
n
S p (n) = k p ) in closed form.
P
k=1
p + 1 p+1−i
p+1
!
Exercise 4 For any p ∈ N by summing differences (k + 1) p+1
k p+1 =
P
− k for k running from 1 to
i=1 i
n prove that
p+1
p−1
!
(n + 1) p+1 P
−n−1− S i (n)
i=1 i
S p (n) = (1)
p+1
p + 1 p+1−i
p+1
!
Exercise 5 For any p ∈ N by summing differences k p+1 − k − 1 p+1 =
P
k for k running from 1 to n prove
i=1 i
that
p+1
p
! !
1
S p (n) = n p+1 + (−1)i+1
P
S p−i (n) (2)
p+1 i=1 i+1
n
Recurrences (1) and (2) give opportunity, starting from S 0 (n) = k0 = n, constructively find representation of
P
k=1
S p (n) as polynomial of n.
Since any polynomial degree of m uniquely defined by their values in m +1 distinct points ((1) or (2) holds for any
natural n) then, by such,
polynomials
S p (x) are defined for any x ∈ R and p ∈ N, more precisely, defined sequence of polynomials
S p (x) by recurrence
p∈N
P p+1
p−1
!
(x + 1) p+1 − 1 − S i (x)
i=0 i
S p (x) = (1’)
p+1
(or by recurrence
i+1 p + 1
p
! !
1
S p (x) = p+1 + (−1)
P
x S p−i (x) ) (2’)
p+1 i=1 i+1
with initial condition S 0 (x) = x.
P p+1 0 P p+1 0
p−1
! p−1
!
(p + 1) (x + 1) − p
S i (x) (p + 1) (x + 1) − 1 − p
S i (x)
i=0 i i=1 i
S p (x) =
0 = and
p+1 p+1
P p + 1 00
p−1
!
(p + 1) p (x + 1) p−1 − S i (x)
i=1 i
S p (x) =
00 =
p + 1!
P p+1 0
p−1
(p + 1) p (x + 1) p−1 − iS i−1 (x)
i=1 i
=
p+1 !
p−1
P p
(p + 1) p (x + 1) p−1 − (p + 1) 0 (x)
S i−1
i=1 i − 1
=
p+1 !
p−2
P p 0
p−2
! (x + 1) p−1
− S i−1 (x)
P p 0 i=0 i
p (x + 1) p−1
− S i−1 (x) = p · = pS 0p−1 (x) .
i=0 i p
Exercise 6 Prove that S 00p (x) = pS 0p−1 (x), for any p ∈ N using (2’).
2 Properties.
P0. deg B p (x) = deg S 0p (x − 1) = p;
P1. B0 (x) = S 10 (x − 1) = 1;
0
P2. B0p (x) = S 0p (x − 1) = S 00p (x − 1) = pS 0p−1 (x) = pB p−1 (x) ;
P3. B p (x + 1) − B p (x) = S 0p (x) − S 0p (x − 1) = px p−1 , p ∈ N.
We call such polynomials Bernoulli Polynomials.
We already have the first few polynomials B p (x) , namely,
1 1 1 1
B1 (x) = S 10 (x − 1) = x − 1 + = x − , B2 (x) = S 20 (x − 1) = (x − 1)2 + (x − 1) + = x2 − x + ,
2 2 6 6
3 (x − 1)2 (x − 1) 3 2 1
B3 (x) = S 3 (x − 1) = (x − 1) +
0 3
+ = x − x + x;
3
2 2 2 2
1 5x4 5x3 x
B4 (x) = S 40 (x − 1) = x4 − 2x3 + x2 − , B5 (x) = S 50 (x − 1) = x5 − + − .
30 2 3 6
1 1 1
We can see that B1 (0) = − , B1 (1) = , but B2 (0) = B2 (1) = , B3 (0) = B3 (1) = 0, B4 (0) = B4 (1) =
2 2 6
1
− , B5 (0) = B5 (1) = 0
30
and in general B p (0) = B p (1) for any p ≥ 2. Furthermore, B2p+1 (0) = B2p+1 (1) = 0.
Since B p (x + 1) − B p (x) = px p−1 , then for x = 0 we obtain B p (1) − B p (0) = p · 0 p−1 ⇐⇒ B p (1) = B p (0), for
all p ≥ 2.
(Hypothesis B2p+1 (0) = B2p+1 (1) = 0, p ∈ N is equivalent to dividing B2p+1 (x) by x which we will prove later).
Note that the recursion B0p (x) = pB p−1 (x) , p ∈ N with initial condition B0 (x) = 1 allows us to obtain polynomials
B1 (x) , B2 (x) , B3 (x) , ....and thus easier than by recurrence (B1) or (B2). Rx Rx
Indeed, assume that we already know polynomial B p−1 (x) ,then B p (x)−B p (1) = 1 B0p (t) dt = 1 pB p−1 (t) dt ⇐⇒
Rx
B p (x) = B p (0) + p 1 B p−1 (t) dt.
Let B p := B p (0) , p ∈ N ∪ {0} . We call such numbers Bernoulli Numbers.
By replacing x in (B1) or in !(B2) with 0 we obtain
P p+1
p−1
− Bi
i=0 i
Bp = (B3)
p+1
or
i+1 p + 1
p
!
P
(−1) B p−i
i=1 i+1
B p = (−1) p + . (B4)
p+1
Any of these recurrences allows to get consistently numbers B1 , B2 , B3 , ...
Indeed, if p = 2m + 1 then B p (x) = −B p (1 − x) and, therefore, for x = 0 we have B p (0) = −B p (1) = −B p (0) =⇒
2B p (0) = 0 ⇐⇒ B p (0) = 0.
p p
!
B p (x + 1) = (−1) p B p (1 − (x + 1)) = (−1) p B p (−x) = (−1) p B p−k (−x)k =
P
! ! k=0 k
p p
n−k p k p
B p−k x =
k B p−k x .
k
P P
(−1) (−1)
k=0 k k=0 k
Now, we write S p (n) in polynomial form by powers of n.
n
Since B p+1 (x + 1) − B p+1 (x) = (p + 1) x p then (p + 1) S p (n) = (p + 1) kp =
P
k=1
n
B p+1 (k + 1) − B p+1 (k) = B p+1 (n + 1) − B p+1 (1) = B p+1 (n + 1) − B p+1 (0)
P
k=1
and, therefore, (p + 1) S p (n) = B p+1 (n + 1) − B p+1 ⇐⇒