I wonder if it is possible to compose formulas by hand like: $1+2+3+\cdots+n$. The formula for this is:$(n)(n+1)/2$.
And for $1^2 + 2^2 + 3^2+\cdots+n^2$ you have the formula: ...
But this is more a trial and error work. So my question is, is it possible too generate series of the form: $1^3+2^3+3^3+\cdots+n^3$ or $1^4+2^4+3^4+\cdots+n^4$, etc. by logic and not by trial and error?
Thank you