- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Program to find N-th term of series 0, 7, 8, 33, 51, 75, 102, 133...in C++
In this tutorial, we will be discussing a program to find N-th term of series 0, 7, 8, 33, 51, 75, 102, 133...
For this, we will be provided with a number. Our task is to find the term for the given series at that particular position.
Example
#include <iostream> #include <math.h> using namespace std; //calculating nth term of series int nthTerm(int n) { return 2 * pow(n, 2) + n - 3; } int main() { int N = 4; cout << nthTerm(N) << endl; return 0; }
Output
33
- Related Articles
- Program to find N-th term of series 0, 11, 28, 51, 79, 115, 156, 203, …In C++
- C++ program to find n-th term in the series 9, 33, 73,129 …
- Program to find N-th term of series 3 , 5 , 21 , 51 , 95 , … in C++
- Program to find N-th term of series 3, 5, 33, 35, 53… in C++
- Program to find N-th term of series 9, 23, 45, 75, 113… 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, 2,1, 3, 1, 5, 2, 7, 3...in C++
- C++ program to find n-th term in the series 7, 15, 32, …
- Program to find N-th term of series 7, 21, 49, 91, 147, 217, …… in C++
- Program to find N-th term in the given series 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 0, 9, 22, 39, 60, 85, 114, 147, …in C++
- Program to find N-th term of series 3, 6, 18, 24, … in C++
- Program to find N-th term of series a, b, b, c, c, c…in C++
- C Program for N-th term of Geometric Progression series

Advertisements