TITLE: Is this already an equation/law that has been found?
QUESTION [11 upvotes]: 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 :(

REPLY [2 votes]: Both results are the same, and are an instance of the formula for the sum of an arithmetic progression, in which each term is obtained from the previous one by adding a constant increment. In general the sum of such a progression is the product of its number of terms times the average of its first and last terms. Maybe you can see right away why this is so (it is a nice exercise); if not the linked article explains it. There also exists a formula for the sum of a geometric progression, in which each term is obtained from the previous one by a multiplying by a constant factor, and indeed for many more types of finite sums.