Partial sums of geometric series