Question: c programming Given the following series: 1 2 5 26 677 ..... such that the nth term of the series equals to (n-1)th ^2 +1
c programming
Given the following series: 1 2 5 26 677 ..... such that the nth term of the series equals to (n-1)th ^2 +1 and the first term of the series is 1. Write a program using recursive function named f to compute the nth term. Use for loop to print the values of first n terms in the series. You will take input n from the user.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
