## C program to find nth term using Arithmetic progrssion

In C programming language, the nth term of an arithmetic progression can be calculated using the following formula: an = a1 + (n-1)d where an … Read more

The sum of the first n even positive numbers can be calculated using the following formula: sum = n * (n + 1) Here is … Read more

C program to find nth odd number. Take a number as input. Sol. Input = 5 Output = 9 //nth odd positive number = 2*n-1 … Read more

The sum of the first n odd positive numbers can be calculated using the following formula: sum = n^2 Here is an example program to … Read more