Series
A sequence is an ordered collection of numbers. We can, for instance, define a sequence of square numbers
Using this definition, we can define the next interesting concept:
Definition: Series
A series is the sequence of partial sums of a sequence. The series
Natural numbers
A trivial sequence is formed by the natural numbers themselves,
There is a clever way to compute this for arbitrary
Theorem: Gauss's Formula
The value of
Proof
Writing out the sum, we have
As summation is commutative, we can also write this series out in reverse:
Both sums have the same number of terms and the same value. We can add both lines and match up the element:
We have
We divide by