I have been trying to simplify $\sum_{i=1}^{n-2}i(n-1-i)$
i.e - remove the summation, put it in polynomial form
Since $i$ is the changing variable, I don't think this is possible.
I also know that the simplified answer should be in polynomial form with highest degree 3, as this stems from a nested loop time complexity problem in programming.
Is it possible if we rewrite this summation, as it has a kind of symmetrical property.
The second half of the summation is identical to the first half.