how to find - 1^k+2^k+3^k+4^k+... n^k

Plese write the derivation.

explaination: if k = 1, ans is (n * (n+1))/2

if k = 2, ans is (n * (n+1) * (2n+1))/6

if k = 3, ans is ( ( (n * (n+1) ) /2)^2

extend it with general n, and provide the whole deravation steps.

## Comments

There are no comments in this discussion.