I have a question about a formula describing a sum of partial sums. So, a partial sum is, famously:
$$k = \frac{n(n+1)}{2}$$
Now, I wanted to know how to write down the sum of this (up to the $n^{th}$ term):
$$\frac{n(n+1)}{2} + \frac{(n- 1)(n - 1+1)}{2} + \frac{(n- 2)(n - 2+1)}{2} \dots+ 1$$
The best thing i can come up with would be to include the summation notation:
$$\sum_{0}^{n}\frac{(n-i)(n-i+1)}{2}$$
Is there a way to simplify it further?
Naively, I though of substituting $$x = \frac{n(n+1)}{2}$$ and then doing $$\frac{(x)(x+1)}{2}$$ but it obviously doesn't work (I wrote a few lines of code to check it).
There's no particular point to it, I just wanted to familiarize myself with the notation.