I know that: $\sum_{x=1}^n x= n(n+1)/2$ but is there a way to generalize that to any power of $x$?
In other words, is there a way to determine what $\sum_{x=1}^n x^m$ is equal to for any $m\in\mathbb{N}$? Is there a clean formula for values where $x\lt1$?
I know I can find the sum of squares and cubes pretty easily but I'm having a hard time finding a general formula.
Faulhaber's formula gives the sum of the $m$th powers of the first $n$ natural numbers.