For example,
$1^3$ = $1$,
$2^3$ = $(2^2-1) + (2^2+1)$
$3^3$ = $(3^2-2) + (3^2) + (3^2 + 2)$
$4^3$ = $(4^2-3) + (4^2 - 1) + (4^2 + 1) + (4^2 + 3)$
I have been able to deduce a general formula for this behavior, which would be:
$n^3 = (n^2 - (n-1)) + (n^2 - (n-3)) + ... + (n^2 + (n-3)) + (n^2 + (n-1))$
I am then asked to prove this general formula via induction and I believe applying the second principle of induction would be more prudent than the first.
I read an explanation about it here: What is the second principle of finite induction?
It tells me that I have to assume all $n$ from 1 to $k$ is true instead of just $n = k$, so I assume I have to factor multiple instances of $i$ (where $i$ is an integer from 1 to $k$) to prove this general formula, but I don't really know how to approach it..