Power Sum Calculator

Result

Calculation Steps

Power Sum Calculator Introduction

The power sum calculator computes the sum of the k-th powers from 1 to n, using the formula below:

Sk(n) = 1k + 2k + 3k + ⋯ + nk

Common Power Sum Formulas

Power (k)NameSum Formula
0Zeroth Power SumS0(n) = n
1Natural Number Sum (First Power Sum)S1(n) = n(n+1)2
2Square Sum (Second Power Sum)S2(n) = n(n+1)(2n+1)6
3Cube Sum (Third Power Sum)S3(n) = [n(n+1)2]2
4Fourth Power SumS4(n) = n(n+1)(2n+1)(3n2+3n-1)30
5Fifth Power SumS5(n) = n2(n+1)2(2n2+2n-1)12

General Formula for Power Sums

General Formula (Using Bernoulli Numbers):
Sk(n) = 1k+1j=0k C(k+1,j) Bj nk+1-j
Here, Bj denotes the Bernoulli numbers, and C(k+1,j) denotes the binomial coefficient.

Recursive Formula

(k+1)Sk(n) = (n+1)k+1 - 1 - ∑i=0k-1 C(k+1,i) Si(n)
This recursive formula can be used to compute higher-order power sums.

Bernoulli Numbers Table (First Few Terms)

nBn
01
1-1/2
21/6
4-1/30
61/42
8-1/30
105/66