Skip to content

Tag Archives: Sequence and Series

Given an integer N, the task is to find the subfactorial of the number represented as !N. The subfactorial of a number is defined using… Read More
Given the integers N, K and an infinite sequence of natural numbers where all the numbers containing the digit K (1<=K<=9) are removed. The task… Read More
Given two positive integers N and K, the task is to construct a permutation of the first N natural numbers such that all possible absolute… Read More
Given a positive integer N, the task is to find the average of the fourth powers of the first N natural numbers. Examples: Input: N… Read More
The word “sequence” in English means a collection of some numbers or objects in such a way that it has a first member, a second… Read More
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 two integers L and R, the task is to find the number of unique triplets whose values lie in the range [L, R], such… Read More
A set of things that are in order is called a Sequence and when Sequences start to follow a certain pattern, they are known as… 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
Sequences and series have several important applications in several spheres of human activities. When sequences follow some specific patterns, they are usually called progressions. Arithmetic… Read More
In mathematics, the sequence is a collection or list of numbers that have a logical/sequential order or pattern between them. For example, 1, 5, 9,… Read More
An ordered list of numbers is called sequences. Each number is the sequence is called a term. The sequence usually has patterns that allow us… Read More
Series can be defined as the sum of all the numbers of the given sequence. The sequences are finite as well as infinite. In the… Read More
A sequence is defined as an arrangement of numbers in a particular order, i.e., an ordered list of numbers. For example: 1, 3, 5, 7,… Read More
Sequence is an enumerated collection of objects in which repetition are allowed and order matters they formed such a pattern by which we can identify… Read More