## Program to find Nth term of the Van Eck’s Sequence

Given a positive integer N, the task is to print Nth term of the Van Eck’s sequence. In mathematics, Van Eck’s sequence is an integer… Read More »

## Find the Kth position element of the given sequence

Given two integers N and K, the task is to find the element at the Kth position if all odd numbers from 1 to N… Read More »

## Sum of all the numbers in the Nth row of the given triangle

Given a positive integer N, the task is to find the sum of all the numbers in the Nth row of the below triangle. 1… Read More »

## Number of coloured 0’s in an N-level hexagon

Given an integer N, the task is to find the count of coloured 0s in an N-level hexagon when the 0s are coloured in the… Read More »

## Number of cells in the Nth order figure

Given an integer N, the task is to find the number of cells in Nth order figure of the given type: Examples: Input: N =… Read More »

## Nth term of a Custom Fibonacci series

Given three integers A, B and N. A Custom Fibonacci series is defined as F(x) = F(x – 1) + F(x + 1) where F(1)… Read More »

## Find the quadratic equation from the given roots

Given the roots of a quadratic equation A and B, the task is to find the equation. Note: The given roots are integral. Examples: Input:… Read More »

## Smallest N digit number which is a perfect fourth power

Given an integer N, the task is to find the smallest N-digit number which is a perfect fourth power. Examples: Input: N = 2 Output:… Read More »

## Count of 0s in an N-level hexagon

Given an integer N, the task is to find the count of 0s in an N-level hexagon. Examples: Input: N = 2 Output: 7 Input:… Read More »

## Check if a number is Flavius Number

Given a series of integers from 1 to infinity and a number N. The task is to remove every (i + 1)-th element from the… Read More »

## Print N terms of Withoff Sequence

Wythoff array is an infinite matrix of integers derived from the Fibonacci sequence. Every positive integer in the matrix occurs only once. Wythoff array: 1… Read More »

## Find the ln(X) and log10X with the help of expansion

Given a positive number x, the task is to find the natural log (ln) and log to the base 10 (log10) of this number with… Read More »

## Concentric Hexagonal Numbers

The following numbers form the concentric hexagonal sequence : 0, 1, 6, 13, 24, 37, 54, 73, 96, 121, 150 …… The number sequence forms… Read More »

## Alcuin’s Sequence

Alcuin sequence is the expansion of This series has significant importance as Alcuin Sequence a(n) is the number of triangles with integer sides and the… Read More »

## Gijswijt’s Sequence

Gijswijt’s sequence is a self-describing sequence where the value of each term is equal to the maximum number of repeated blocks of numbers in the… Read More »