A sequence is in geometric progression if and only if

or

so

The partial sum of geometric progression in case is

The sum of geometric progression is , for