This is a question from my textbook, it goes like this:
Prove (by induction) that the series $1^3+2^3+...+n^3=(1+2+...+n)^2$
Here is my attempt at a solution:
The base case would be: $n = 1 \implies 1^3=1^2$
Then we suppose that the statement works for a certain: $n=k$.
This gives us: $1^3+2^3+...+k^3=(1+2+...+k)^2$ (the inductive assumption) and this can be written as: $1^3+2^3+...+k^3=(\frac{k(k+1)}{2})^2$ by using the sum formula.
Further: $n=(k+1) \implies LHS = 1^3+2^3+...+k^3+(k+1)^3 =$ (by using the inductive assumption) $=(\frac{k(k+1)}{2})^2 +(k+1)^3$ and the $RHS = (1+2+...+k+(k+1))^2$
The proof would be complete if I could show that the $LHS = RHS$ but how do I do that?
Thank you for your help!