I have an exercise that asks me to prove that $n^3 = (n^2-n+1)+(n^2-n+3)+...+(n^2+n-3)+(n^2+n-1)$ by induction, but I got stuck: I don't know what I can do. Could you please give me some hints? Examples: $$1^3=1 \,, 2^3 = 3+5 \,, 3^3=7+9+11 \,, 4^3=13+15+17+19$$ Note: As the exercise asks me to prove the identity $1^3 + ... + n^3 = (1+2+...+n)^2$ afterwards, I kindly ask you not to use that.
Note2: I'm aware of this identity: $ 1+3+...+2k-1 = k^2$ Thanks a lot.