- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

In this problem, we are given a number N. Our task is to create a Program to find N-th term of series 0, 9, 22, 39, 60, 85, 114, 147, …in C++.

**Problem Description** − We are given the Series −

**0, 9, 22, 39, 60, 85, 114, 147,....Nterms**

To find the Nth term of this series, we will formula the general term of the series and then find the Nth term.

**Let’s take an example to understand the problem,**

**Input** − N = 6

**Output** − 85

To find the general term of the series. Let’s observe the growth of the values of the series. It is a parabolic type of growth that means the general term would be quadratic. And upon further calculation, you can find the general term. The formula for the general term of series is −

**T _{N} = 2*(N^2) + 3*N - 5**

#include <iostream> using namespace std; int findNTerm(int N) { int nthTerm = ( (2*N*N) + (3*N) - 5 ); return nthTerm; } int main() { int N = 8; cout<<N<<"th term of the series is "<<findNTerm(N); return 0; }

8th term of the series is 147

- Related Questions & Answers
- Program to find N-th term of series 7, 21, 49, 91, 147, 217, …… in C++
- C++ program to find n-th term in the series 9, 33, 73,129 …
- C++ program to find n-th term of series 3, 9, 21, 41, 71…
- Program to find N-th term of series 9, 23, 45, 75, 113… in C++
- Program to find N-th term of series 0, 10, 30, 60, 99, 150, 210, 280...in C++
- Program to find N-th term of series 1, 3, 12, 60, 360...in C++
- Program to find N-th term of series 0, 0, 2, 1, 4, 2, 6, 3, 8…in C++
- Program to find N-th term of series 0, 11, 28, 51, 79, 115, 156, 203, …In C++
- Program to find N-th term of series 3, 6, 18, 24, … in C++
- Program to find N-th term of series 1 4 15 24 45 60 92... in C++
- C++ program to find n-th term in the series 7, 15, 32, …
- C++ program to find Nth term of the series 3, 14, 39, 84…
- C++ program to find n-th term of series 2, 10, 30, 68, 130 …
- n-th term of series 1, 17, 98, 354…… in C++
- Program to find N-th term of series a, b, b, c, c, c…in C++

Advertisements