## Sum of the natural numbers (up to N) whose modulo with K yield R

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 »

- Find the unit place digit of sum of N factorials
- Program to find Sum of the series 1*3 + 3*5 + ....
- Sum of the elements from index L to R in an array when arr[i] = i * (-1)^i
- Sum of squares of Fibonacci numbers
- Sum of kth powers of first n natural numbers
- Program to find sum of harmonic series
- Sum of all odd natural numbers in range L and R
- Generate minimum sum sequence of integers with even elements greater
- Sum of first N natural numbers which are divisible by 2 and 7
- Program to find the sum of the series (1/a + 2/a^2 + 3/a^3 + ... + n/a^n)
- Summing the sum series
- Value of the series (1^3 + 2^3 + 3^3 + ... + n^3) mod 4 for a given n
- Sum of first n term of Series 3, 5, 9, 17, 33....
- Program to find the sum of the series 23+ 45+ 75+..... upto N terms
- Find sum of product of number in given series
- Program to find sum of 1 + x/2! + x^2/3! +...+x^n/(n+1)!
- Find Sum of Series 1^2 - 2^2 + 3^2 - 4^2 ..... upto n terms
- Find sum of N-th group of Natural Numbers
- Sum of Fibonacci Numbers with alternate negatives
- Sum of multiples of A and B less than N
- Find sum of the series 1+22+333+4444+...... upto n terms
- Find the sum of series 3, 7, 13, 21, 31....
- Sum of first n terms of a given series 3, 6, 11, .....
- Program to find the Nth term of the series 0, 5, 14, 27, 44, ........
- Find the sum of all multiples of 2 and 5 below N
- 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)
- Find the sum of infinite series 1^2.x^0 + 2^2.x^1 + 3^2.x^2 + 4^2.x^3 +.......
- Program to find the Nth term of the series 0, 14, 40, 78, 124, ...
- Sum of all natural numbers in range L to R
- Sum of the first N terms of the series 2,10, 30, 68,....

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 »

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 »

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 »

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 integers and and an array arr[] every element of which at index is calculated as arr[i] = i * (-1)i. The task is… Read More »

Given a number N, the task is to find the sum of all the multiples of A and B below N. Examples: Input:N = 11,… Read More »

Given two integers and . The task is to find the sum of the series 1/a + 2/a2 + 3/a3 + … + n/an. Examples:… Read More »

Given a number N. The task is to find the sum of all multiples of 2 and 5 below N ( N may be up… Read More »

Given a number N. The task is to find the sum of all those numbers from 1 to N that are divisible by 2 or… Read More »

Given a series of natural numbers divided into groups as: (1, 2), (3, 4, 5, 6), (7, 8, 9, 10, 11, 12), (13, 14, 15,… Read More »

Given an integer N. The task is to find the sum upto N terms of the given series: 3, -6, 12, -24, … upto N… Read More »