While studying for my course, I found following rule in the web (below image).
My professor seems to assume everyone know this, but I don't understand why this works.
It says
$$1 + 2 + 3 + \cdots + n=
[ 1 + 2 + 3 + \cdots + n/2 ] + [n/2 + \frac{n+1}{2} + \cdots + n]$$
Can you explain how this summation rule works?
$$\large{}\sum_{k=1}^n k= \sum_{k=1}^{\frac{n}{2}} k + \sum_{k=\frac{n}{2}+1}^n k$$