Skip to content

Tag Archives: series-sum

Given a natural number n, find the sum of the sum-series of the first N natural number. Sum-Series: is sum of first N natural numbers,… Read More
Given a number N, the task is to find the sum of the first N Pronic Numbers. The numbers that can be arranged to form… Read More
Given a natural number N, the task is to find the sum of the series up to Nth term where the ith term denotes the… Read More
Given a number N, the task is to find the sum of the first N star numbers. The first few star numbers are 1, 13, 37,… Read More
Given an integer N print the sequence number of the given Triangular Number. If the number is not a triangular number then print -1.  A… Read More
Given two numbers N and K, the task is to find the sum of first K numbers which are not divisible by N. Examples:  Input:… Read More
Given a number N, the task is to find the sum of the all Betrothed numbers up to N. Let, A and B are a… Read More
Given two integers N and K, the task is to find K consecutive integers such that their sum if N.Note: If there is no such… Read More
Given a number N, the task is to find the sum of alternating sign cubes of first N natural numbers, i.e.,   13 – 23 +… Read More
Given an integer X, the task is to print the series and find the sum of the series Examples :   Input: X = 2, N =… Read More
Given two non-negative integers M, N which signifies the range [M, N] where M ≤ N, the task is to find the last digit of… Read More
Given a number N, the task is to print the first N terms of the series:  Examples:   Input: N = 7 Output: 1, 9, 17, 33,… Read More
Given a number N, the task is to find the sum of the below series till N terms.  Examples:   Input: N = 6 Output: -0.240476Input: N… Read More
Given a number N, the task is to find the sum of the below series till N terms.  Examples:   Input: N = 2 Output: 3 1 +… Read More
Given a number N, the task is to find the sum of the below series till N terms.  Examples:   Input: N = 10 Output: 2.133256 Explanation: The sum… Read More

Start Your Coding Journey Now!