Sum of the first nth term of Series
Task:
Series: 1 + 1/4 + 1/7 + 1/10 + 1/13 + 1/16 +...Rules:
Examples:
SeriesSum(1) => 1 = "1.00"
SeriesSum(2) => 1 + 1/4 = "1.25"
SeriesSum(5) => 1 + 1/4 + 1/7 + 1/10 + 1/13 = "1.57"Solutions
π§ C++
Last updated