## Find Sum of Series 1^2 – 2^2 + 3^2 – 4^2 ….. upto n terms

Given a number n, the task is to find the sum of the below series upto n terms: 12 – 22 + 32 – 42… Read More »

- Find the Nth term of the series 14, 28, 20, 40,.....
- Arithmetic Progression
- Sum of kth powers of first n natural numbers
- Sum of all odd natural numbers in range L and R
- Find n positive integers that satisfy the given equations
- Program to find sum of harmonic series
- Geometric Progression
- Program to find nth term of the series 1 4 15 24 45 60 92
- 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
- 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 if the given number is present in the infinite sequence or not
- Harmonic Progression
- Find Nth term of the series 1, 5, 32, 288 ...
- Sum of the series 1, 2, 4, 3, 5, 7, 9, 6, 8, 10, 11, 13.. till N-th term
- Find Nth term of the series 1, 6, 18, 40, 75, ....
- Find the nth term of the given series
- Program to find the Nth term of the series 0, 3/1, 8/3, 15/5........
- Maximum value of |arr[0] - arr[1]| + |arr[1] - arr[2]| + ... +|arr[n - 2] - arr[n - 1]| when elements are from 1 to n
- 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
- Print first N terms of series (0.25, 0.5, 0.75, ...) in fraction representation

Given a number n, the task is to find the sum of the below series upto n terms: 12 – 22 + 32 – 42… Read More »

Given a positive integer n, the task is to find the value of F1 – F2 + F3 -……….+ (-1)n+1Fn where Fi denotes i-th Fibonacci… Read More »

Given a number n, the task is to find the nth term of the Series 1 2 2 4 4 4 4 8 8 8… Read More »

Given a positive number n, the task is to check whether the given number is Interprime or not. If the given number is Interprime print… Read More »

Given a positive integer n, the task is to check if it is a Thabit number. If the given number is a Thabit number then… Read More »

Given a positive integer N. The task is to find the sum of squares of all Fibonacci numbers up to N-th fibonacci number. That is,… Read More »

Given a function f(n) = (13 + 23 + 33 + … + n3), the task is to find the value of f(n) mod 4… Read More »

Given a number N, The task is to write a program to find the Nth term of the below series: 5, 12, 21, 32, 45……… Read More »

Given a number N, the task is to find the Nth (N may be up to 10^18) term of this series: 2, 10, 24, 44,… Read More »

Given a number N, the task is to find the Nth term of the series: 1, 2, 11, 12, 21… Examples: Input : N =… Read More »

Given a number n, print the nth odd number. The 1st odd number is 1, 2nd is 3 and so on. Examples: Input : 3… Read More »

Given a number n, print the nth even number. The 1st even number is 2, 2nd is 4 and so on. Examples: Input : 3… Read More »

Given a number N. The task is to find the Nth Harmonic Number. Let the nth harmonic number be Hn. The harmonic series is as… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 0, 7, 18, 33, 51,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 0, 10, 30, 60, 99,… Read More »