# Tag Archives: series-sum

Given a number N, the task is to find the sum of the below series till N terms.  Examples:   Input: N = 8 Output: 201 1 +… Read More
Given three numbers A, B and M such that A < B, the task is to find the sum of numbers divisible by M in… Read More
Given an integer N, the task is to find the summation of the harmonic series . Examples:  Input: N = 5 Output: 10 floor(3/1) + floor(3/2) + floor(3/3)… Read More
Given two numbers x and N, the task is to find the value of cosh(x) from the series upto N terms.The expansion of cosh(x) is… Read More
Given two integers N and X. The task is to find the sum of tan(x) series up to N terms.The series :   x + x3/3… Read More
Given a series of numbers 1, 2, 4, 3, 5, 7, 9, 6, 8, 10, 11, 13… The task is to find the sum of… Read More
Given a value K and n, the task is to find the sum of the below series: Kn + ( K(n-1) * (K-1)1 ) +… Read More
Given an integer N, the task is to calculate the sum of all i from 1 to N such that (2i + 1) % 3… Read More
Given an integer n, the task is to find the sum of the series 11 + 22 + 33 + ….. + nn using recursion.… Read More
Given a value n, the task is to find sum of the series (1*2) + (2*3) + (3*4) + ……+ n termsExamples:   Input: n =… Read More
Given a number n, the task is to find the n-th term in series 1, 5, 32, 288 … Examples:  Input: N = 3Output: 32Explanation:3rd… Read More
Given a number N. The task is to find the sum of numbers from 1 to N, which are present in the Lucas Sequence. The… Read More
Given three integers N, K, and R. The task is to calculate the sum of all those numbers from 1 to N which yields remainder… Read More
Given an integer N, the task is to generate a sequence of N positive integers such that:   Every element at the even position must be… Read More
Harmonic series is inverse of a arithmetic progression. In general, the terms in a harmonic progression can be denoted as 1/a, 1/(a + d), 1/(a… Read More