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

# Tag Archives: Sequence and Series

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

Geometric Progression (GP) is a specific type of progression or sequence, where each next term in the progression is produced by multiplying the previous termâ€¦ 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

Given an array arr[] of size N, the task is to find the total number of sequences of positive integers possible (greater than 1) whoseâ€¦ Read More

Central tendency refers to identifying the central position of the given data set. Central tendency has 3 important measures that are Mean, Median, and Mode.â€¦ Read More