Given a positive integer N, the task is to find the sum upto Nth term of the series: 33 – 23, 53 – 43, 73… Read More
Tag Archives: series-sum
Given an integer N. The task is to find the sum of the first N terms of the series 5, 11, 19, 29, 41, .… Read More
Given a number N, the task is to find the sum of the below series till N terms. 1+(1+2)/2+(1+2+3)/3+… till N terms Examples: Input: N… Read More
Given a number N, the task is to find the sum of the below series till 3N terms. 1^3+1^2+1+2^3+2^2+2+3^3+3^2+3+… till 3N terms Examples: Input: N… Read More
Given a positive integer, N. Find the sum of the first N term of the series 12, 14, 24, 58, 164, ….. Examples: Input: N… Read More
Given a positive integer n. Find the sum of the first n term of the series 12, 105, 1008, 10011, ….. Examples: Input: n =… Read More
Given two numbers L and R. The task is to find the sum of numbers in the range L to R. Examples: Input: L =… Read More
Given a positive integer N. The task is to compute the sum of factorial from 1! to N!, 1! + 2! + 3! + …… Read More
Given a series . and the value of a. Find the sum of the first n term of the series. Examples: Input: a = 3, n… Read More
Given two integers A and R, representing the first term and the common ratio of a geometric sequence, the task is to find the sum… Read More
Given three integers A, D, and R representing the first term, common difference, and common ratio of an infinite Arithmetic-Geometric Progression, the task is to… Read More
Given two integers S and D, the task is to count the number of Arithmetic Progressions possible with sum S and common difference D. Examples:… Read More
Given three positive integers A, B, and N where A and B are the first two terms of the XOR Fibonacci series, the task is… Read More
Given a number N and for any number K for a series formed as K, K + 1, K + 2, K + 3, K… Read More
Given an integer N, the task is to calculate the sum of first N natural numbers adding all powers of 2 twice to the sum.Examples: … Read More