- 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 an integer N. Our task is to create a program to Find Nth term of series 3, 14, 39, 84…

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

N = 4

84

4^{th term − ( (4*4*4) + (4*4) + 4 ) = 64 + 16 + 4 = 84}

A simple approach to solve the problem is by using the general formula for the nth term of the series. The formula for,

Nth term = ( (N*N*N) + (N*N) + (N))

**Program to illustrate the working of our solution,**

#include <iostream> using namespace std; int calcNthTerm(int N) { return ( (N*N*N) + (N*N) + (N) ); } int main() { int N = 6; cout<<N<<"th term of the series is "<<calcNthTerm(N); return 0; }

6th term of the series is 258

- Related Questions & Answers
- C++ program to find Nth term of the series 1, 5, 32, 288 …
- C++ program to find Nth term of the series 1, 8, 54, 384…
- C++ program to find Nth term of the series 1, 6, 18, 40, 75, ….
- C++ program to Find Nth term of the series 1, 1, 2, 6, 24…
- C++ program to find Nth term of the series 5, 13, 25, 41, 61…
- C++ program to find Nth term of series 1, 4, 15, 72, 420…
- C++ program to find Nth term of the series 0, 2, 4, 8, 12, 18…
- Program to find N-th term of series 3, 6, 18, 24, … in C++
- C++ program to find n-th term of series 3, 9, 21, 41, 71…
- 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, 5, 33, 35, 53… in C++
- Program to find N-th term of series 2, 4, 3, 4, 15… in C++
- Program to find N-th term of series 3 , 5 , 21 , 51 , 95 , … in C++
- Program to find N-th term of series 3, 12, 29, 54, 87, … in C++
- C++ program to find n-th term of series 1, 3, 6, 10, 15, 21…

Advertisements