MathorynMathematical Formula Database

Sequences & Series

Sum of Fourth Powers

This closed form, one of Faulhaber's formulas, gives the sum of the fourth powers of the first nn positive integers. It is used in Riemann-sum calculations of ∫x4 dx\int x^4\,dx and in counting problems.

∑k=1nk4=n(n+1)(2n+1)(3n2+3n−1)30\sum_{k=1}^{n}k^4=\frac{n(n+1)(2n+1)\left(3n^2+3n-1\right)}{30}
LaTeX\sum_{k=1}^{n}k^4=\frac{n(n+1)(2n+1)\left(3n^2+3n-1\right)}{30}

Variables

nn
number of terms
kk
summation index

Example

Compute 14+24+34+44+541^4+2^4+3^4+4^4+5^4.

  1. n=5n=5: 5⋅6⋅11⋅(75+15−1)30=330⋅8930\frac{5\cdot6\cdot11\cdot(75+15-1)}{30}=\frac{330\cdot89}{30}.
  2. Directly: 1+16+81+256+6251+16+81+256+625.

Answer: 979979.

Related formulas