## Finding nth term of any Polynomial Sequence

Given a few terms of a sequence, we are often asked to find the expression for the nth term of this sequence. While there is… Read More »

Given a few terms of a sequence, we are often asked to find the expression for the nth term of this sequence. While there is… Read More »

Given first term (a), common ratio (r) and a integer n of the Geometric Progression series, the task is to print th n terms of… Read More »

Given first term (a), common difference (d) and a integer N of the Arithmetic Progression series, the task is to find Nthterm of the series.… Read More »

Given first term (a), common ratio (r) and a integer N of the Geometric Progression series, the task is to find Nth term of the… Read More »

Newman-Conway numbers is the one which generates the following integer sequence. 1 1 2 2 3 4 4 4 5 6 7 7….. and follows… Read More »

Find the sum up to n terms of the sequence: 5 + 55 + 555 + … up to n. Examples: Input : 2 Output:… Read More »

A nonagonal number is a figurate number that extends the concept of triangular and square numbers to the nonagon. Specifically, the nth nonagonal numbers counts… Read More »

Given a mathematical series as 3, 9, 21, 41, 71… For a given integer n, you have to find the nth number of this series.… Read More »

Program for finding the sum of the nth term of the series (n^2-1^2) + 2(n^2-2^2) + 3(n^2-3^2) + ….n(n^2-n^2) Examples: Input : 2 Output :3… Read More »

Given a series 12 + 32 + 52 + 72 + . . . + (2*n – 1)2, find sum of the series. Examples: Input… Read More »

Given a number n then Find the Average of first n even natural numbers Ex.= 2 + 4 + 6 + 8 + 10 +… Read More »

Given a Number n then find the Average of first n odd numbers 1 + 3 + 5 + 7 + 9 +………….+ (2n –… Read More »

Given the value of n, find the sum of the series (2 / 3) – (4 / 5) + (6 / 7) – (8 /… Read More »

Stern Brocot sequence is similar to Fibonacci sequence but it is different in the way fibonacci sequence is generated . Generation of Stern Brocot sequence… Read More »

Centered nonagonal number is a centered figurate number that represents a nonagon with a dot in the center and all other dots surrounding to the… Read More »