So I was messing around with some numbers today and I have found a way to quickly add summations (probably not the first one to discover it but...) this only works when you start at 1 (i.e. $1+2+3+4+5$) The equations are these
If the number ($n$) is odd do this:
$$\sum=\left(\frac{n+1}{2}\right)\cdot{}n$$
If the number ($n$) is even do this:
$$\sum =\left ( \frac{(n/2)+(n/2+1) }{2} \right )\ast n$$
So my question is, is this already a law/equation of some sort that someone has already found out because I think I remember hearing something similar to it but I do not know. Unfortunately I am only a freshman in geometry so have never been exposed to any things having to do with summations :(
The formula for the sum of all natural numbers less than or equal to $n$ is well known: and it holds for both odd and even $n$ $$1 + 2 + \cdots + n = \sum_{i = 1}^n i = \dfrac{n(n+1)}{2}$$