## 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 »

- Area of squares formed by joining mid points repeatedly
- Find the Nth term of the series 14, 28, 20, 40,.....
- Program to find Nth term in the series 0, 0, 2, 1, 4, 2, 6, 3, 8,...
- Program to find Nth term in the given Series
- Program to find Sum of the series 1*3 + 3*5 + ....
- Sum of squares of Fibonacci numbers
- Program to find the Nth Harmonic Number
- Sum of kth powers of first n natural numbers
- Program to find the N-th term of series 3, 5, 33, 35, 53…. | Set-2
- Program to find N-th term of series 3, 5, 33, 35, 53....
- Program to find sum of harmonic series
- Program to find nth term of the series 1 4 15 24 45 60 92
- Sum of all odd natural numbers in range L and R
- Arithmetic Progression
- Generate minimum sum sequence of integers with even elements greater
- Program to find the Nth term of series -1, 2, 11, 26, 47......
- Program for n-th even number
- Sum of first N natural numbers which are divisible by 2 and 7
- Program to print numeric pattern | Set - 2
- Find Nth term of the series 1, 1, 2, 6, 24...
- Summing the sum series
- Find nth term of the series 5 2 13 41
- Check if a number is Primorial Prime or not
- Program to find the Nth term of the series 3, 7, 13, 21, 31.....
- Program to find Nth term of series 9, 23, 45, 75, 113...
- Value of the series (1^3 + 2^3 + 3^3 + ... + n^3) mod 4 for a given n
- Program to find Nth term in the series 0, 2, 1, 3, 1, 5, 2, 7, 3,…
- Program to print the Sum of series -1 + 2 + 11 + 26 + 47 +.....
- Find the Nth term of the series 1 + 2 + 6 + 15 + 31 + 56 + ...
- Geometric Progression

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 a number N, the task is to find the nth term of the series 5, 2, 19, 13, 41, 31, 71, 57…. It is… Read More »

Given a number n, the task is to find the nth term of the series 1, 4, 15, 24, 45, 60, 91, 112, 153….. where… Read More »

Given a number N, the task is to find the Nth term of the the following series. 0, 3/1, 8/3, 15/5…… Examples: Input: n=4 Output:… Read More »

Given a number N, the task is to find the Nth term of the the following series. -2, 4, -6, 8…… Examples: Input: n=4 Output:… Read More »

Given an integer N, the task is to print the first N terms of the series in their fraction form i.e. 1/4, 1/2, 3/4, 1,… 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 »

Given an integer N, the task is to print the Nth term of the series 9, 45, 243, 1377, 8019, … Examples: Input: N =… Read More »

Given a positive integer n, the task is to print the nth Hermite number. Hermite Number : In mathematics, Hermite numbers are values of Hermite… Read More »

Given an integer N, the task is to find the Nth term of the following series: 0, 8, 64, 216, 512, 1000, 1728, . .… 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 »

A sequence of numbers is called a Harmonic progression if the reciprocal of the terms are in AP. In simple terms, a, b, c, d,… Read More »