Cody

Problem 566. Sum of first n terms of a harmonic progression

Created by Srivardhini in Community

Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

Solution Stats

20.6% Correct | 79.4% Incorrect
Last solution submitted on Jun 18, 2019

Problem Comments

Solution Comments