## Program to find the nth term of the series -2, 4, -6, 8….

Given a number N, the task is to find the Nth term of the the following series. -2, 4, -6, 8…… Examples: Input: n=4 Output:… Read More »

- Find the Nth term of the series 14, 28, 20, 40,.....
- Arithmetic Progression
- Sum of all odd natural numbers in range L and R
- Sum of kth powers of first n natural numbers
- Find n positive integers that satisfy the given equations
- Program to find sum of harmonic series
- Program to find nth term of the series 1 4 15 24 45 60 92
- Geometric Progression
- Generate minimum sum sequence of integers with even elements greater
- Find nth term of the series 5 2 13 41
- Sum of the series K
^{n}+ ( K^{(n-1)}* (K-1)^{1}) + ( K^{(n-2)}* (K-1)^{2}) + ....... (K-1)^{n} - Summing the sum series
- Sum of the natural numbers (up to N) whose modulo with K yield R
- Aronson's Sequence
- Sum of numbers from 1 to N which are in Lucas Sequence
- Find nth Hermite number
- Find the nth term of the series 0, 8, 64, 216, 512, . . .
- Sum of all natural numbers in range L to R
- Find the value of f(n) / f(r) * f(n-r)
- Find if the given number is present in the infinite sequence or not
- Harmonic Progression
- Find Nth term of the series 1, 5, 32, 288 ...
- Find Nth term of the series 1, 6, 18, 40, 75, ....
- Sum of the series 1, 2, 4, 3, 5, 7, 9, 6, 8, 10, 11, 13.. till N-th term
- Find the nth term of the given series
- Maximum value of |arr[0] - arr[1]| + |arr[1] - arr[2]| + ... +|arr[n - 2] - arr[n - 1]| when elements are from 1 to n
- Program to find the Nth term of the series 0, 3/1, 8/3, 15/5........
- Find the sum of first N terms of the series 2*3*5, 3*5*7, 4*7*9, ...
- Program to find the nth term of the series -2, 4, -6, 8....
- Find the Nth term of the series 9, 45, 243,1377

Given a number N, the task is to find the Nth term of the the following series. -2, 4, -6, 8…… Examples: Input: n=4 Output:… Read More »

Given an integer N, the task is to print the first N terms of the series in their fraction form i.e. 1/4, 1/2, 3/4, 1,… Read More »

Given an integer N, the task is to find the sum of first N terms of the series: (2 * 3 * 5), (3 *… Read More »

Given two integers n and k, the task is to calculate and print 1k + 2k + 3k + … + nk. Examples: Input: n… Read More »

Given an integer N, the task is to print the Nth term of the series 9, 45, 243, 1377, 8019, … Examples: Input: N =… Read More »

Given a positive integer n, the task is to print the nth Hermite number. Hermite Number : In mathematics, Hermite numbers are values of Hermite… Read More »

Given an integer N, the task is to find the Nth term of the following series: 0, 8, 64, 216, 512, 1000, 1728, . .… Read More »

Defined a function that calculates the twice of sum of first N natural numbers as sum(N). Your task is to modify the function to sumX(N,… Read More »

A sequence of numbers is called a Harmonic progression if the reciprocal of the terms are in AP. In simple terms, a, b, c, d,… Read More »

A sequence of numbers is called a Geometric progression if the ratio of any two consecutive terms is always same. In simple terms, it means… Read More »

A sequence of numbers is called an Arithmetic progression if the difference between any two consecutive terms is always the same. In simple terms, it… Read More »

Given a number . The task is to find the N-th term in the following series: 14, 28, 20, 40, 32, 64….. Examples: Input :… Read More »

Given two integers L and R, the task is to find the sum of all odd natural numbers in range L and R inclusive. Examples:… Read More »

Given a range L and R, the task is to find the sum of all natural numbers in range L to R. Examples: Input: L… Read More »

Given two positive integers n and r where n > r >1. The task is to find the value of f(n)/(f(r)*f(n-r)). F(n) is deined as… Read More »