geometric sequence
A geometric sequence is a sequence where a subsequent element is the previous element multiplied by a constant value called the common ratio.
Formally,
The partial sum of a geometric sequence is
and the geometric series converges to
when