My question is about the simplification of the following summation: $\sum_{n = 0}^{w}({ \sum_{k = n}^{2n} (k) })$.
I have used Mathematica and obtained that $ \sum_{n = 0}^{w}({ \sum_{k = n}^{2n} (k) }) = \frac{1}{2} w (w + 1) (w + 2)$. Even though this is all I originally needed to know for the problem, I am curious to know how this simplification is actually done because I don't quite understand it. (I think it just surpasses my current mathematical knowledge).
Could anyone explain this to me?
Thanks in advance.