Skip to content

Tag Archives: series

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 a positive integer N, the task is to find the Nth term of the Ruler Function Series. The Ruler Function Series is a series,… 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 four integers A, B, C and N, where A, B, C represents the first three numbers of the geekonacci series, the task is to… Read More
Given two positive integers N and K, the task is to generate an array consisting of N distinct integers such that the sum of elements… Read More
Given an integer N, the task is to find the value of the expression ( N1 * (N – 1)2 * … * 1N) %… Read More
In Algebra a term is either a single number or variable or numbers and variables multiplied together. Terms are separated by + or − signs,… Read More
Given four positive numbers A, B, C, D, such that A and B are the first term and the common difference of first Arithmetic sequence… Read More
Given a number N, we need to find the Fibonacci Series up to the N term. The Fibonacci series is a series of elements where,… Read More
Given two numbers K and N. The task is to represent the given number K as a sum of several N-bonacci numbers. Examples:  Input: K… Read More
Given an integer N, the task is to find all numbers up to N, which are both Pentagonal as well as Hexagonal.Example:   Input: N =… Read More
Given a number N, the task is to find the smallest number whose square has N digits.Examples:   Input: N = 2 Output: 4 Explanation: 32 = 9, which… Read More
Junction Number is a number N if it can be written as K + SumOfDIgits(k) for at least two K.  101, 103, 105, 107, 109,… Read More
A Practical Number is a number N if all the numbers M < N can be written as the sum of distinct proper divisors of… Read More