# Tag Archives: series-sum

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
Given a natural number n, find the sum of sum-series of first N natural number.  Sum-Series: is sum of first N natural numbers, i.e, sum-series… 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