Sum of geometric and harmonic series