Tag Archives: series-sum

Value of the series (1^3 + 2^3 + 3^3 + … + n^3) mod 4 for a given n

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

Sum of the first N terms of the series 2,10, 30, 68,….

Given a number N, the task is to find the sum of first N terms of the below series: Sn = 2 + 10 +… Read More »

Sum of the first N terms of the series 2, 6, 12, 20, 30….

Given a number N, the task is to find the sum of first N terms of the below series: Sn = 2 + 6 +… Read More »

Sum of the first N terms of the series 5,12, 23, 38….

Given a number N, the task is to find the sum of first N terms of the below series: Sn = 5 + 12 +… Read More »

Program to find the Nth term of the series 0, 5, 14, 27, 44, ……..

Given a number N. The task is to write a program to find the Nth term in the below series: 0, 5, 14, 27, 44… Read More »

Program to find the Nth term of the series 0, 14, 40, 78, 124, …

Given a number N. The task is to write a program to find the Nth term of the below series: 0, 14, 40, 78, 124… Read More »

Program to find the sum of the series 23+ 45+ 75+….. upto N terms

Given a number N, the task is to find the Nth term of the below series: 23 + 45 + 75 + 113 + 159… Read More »

Find sum of product of number in given series

Given two numbers N and T where, and . The task is to find the value of . Since sum can be large, output it… Read More »

Find sum of the series ?3 + ?12 +……… upto N terms

Given a number n, the task is to find the sum of first n terms of this series. Below is the series:     Examples:… Read More »

Find the sum of the series x(x+y) + x^2(x^2+y^2) +x^3(x^3+y^3)+ … + x^n(x^n+y^n)

Given a series where x, y and n take integral values. The task is to Find the sum till nth term of the given series.… Read More »

Find the sum of infinite series 1^2.x^0 + 2^2.x^1 + 3^2.x^2 + 4^2.x^3 +…….

Given an infinite series and a value x, the task is to find its sum. Below is the infinite series 1^2*x^0 + 2^2*x^1 + 3^2*x^2… Read More »

Find the sum of series 3, 7, 13, 21, 31….

Given a number N. The task is to find the sum of below series upto nth term. 3, 7, 13, 21, 31, …. Examples: Input… Read More »

Find sum of the series 1+22+333+4444+…… upto n terms

Given a number N. The task is to find the sum of the below series up to N-th term: 1 + 22 + 333 +… Read More »

Find the sum of the series 2, 5, 13, 35, 97…

Given a series and a number n, the task is to find the sum of its first n terms. Below is the series: 2, 5,… Read More »

Find the sum of n terms of the series 1,8,27,64 ….

Given a series, the task is to find the sum of the below series up to n terms: 1, 8, 27, 64, … Examples: Input:… Read More »