Answer :
Answer:
Step-by-step explanation:
Input: N = 2
Output: 9
The sum of first 2 terms of Series is
3 + 6 = 9
Input: N = 3
Output: 20
The sum of first 3 terms of Series is
3 + 6 + 11 = 20
Answer:
Step-by-step explanation:
Input: N = 2
Output: 9
The sum of first 2 terms of Series is
3 + 6 = 9
Input: N = 3
Output: 20
The sum of first 3 terms of Series is
3 + 6 + 11 = 20