(summation from 0 to x of n^3) - (summation from 0 to x of n)^2