Arithmetic sum
The arithmetic sum of a sequence of numbers is
where is the smallest value in the sequence and is the biggest value in the sequence.
Geometric sum
When , the sum of the first terms is
Geometric sum for probabilities
When is between we can write the geometric sum as