## Number of N digit integers with weight W

Given N, the number of digits of an integer which is greater than or equal to 2 and a weight W. The task is to… Read More »

## Cunningham chain

A Cunningham chain is a sequence of prime numbers. It is of 2 types: Cunningham chain of the first kind: It is a sequence of… Read More »

## Program to print numeric pattern | Set – 2

Given a number as ‘num’, and Number of lines as ‘num_of_lines’ where ‘num’ implies the starting number from which the pattern has to be started… Read More »

## Program to print pentatope numbers upto Nth term

Prerequisites: Tetrahedral numbers Pentatope Numbers Given a value n, and the task is to print pentatope numbers series up to nth term. Examples: Input: 5… Read More »

## Program to print tetrahedral numbers upto Nth term

Prerequisites: Triangular numbers Tetrahedral numbers Given a value n, and the task is to print tetrahedral number series up to nth term. Examples: Input: 5… Read More »

## Minimum number of operations to convert a given sequence into a Geometric Progression

Given a sequence of N elements, only three operations can be performed on any element at most one time. The operations are: Add one to… Read More »

## Stormer Numbers

Given a number ‘n’, the task is to generate the first ‘n’ Stormer numbers. A Stormer Number is a positive integer ‘i’ such that the… Read More »

## Print first n Fibonacci Numbers using direct formula

Given a number n, the task is to print first n Fibonacci numbers. Prerequisite : Program to print first n Fibonacci Numbers | Set 1… Read More »

## Centered Dodecagonal Number

Given a number n, find the nth Centered Dodecagonal Number. The Centered Dodecagonal Number represents a dot in the center and other dots surrounding it… Read More »

Given a number n, find the nth Centered Hexadecagonal Number. A Centered Hexadecagonal number represents a dot in the centre and other dots around it… Read More »

## Pentatope number

Given a number n, the task is to write a program to find Nth pentatope number. A pentatope number is class of figurative number and… Read More »

## Heptagonal number

Given a number n, the task is to find Nth heptagonal number. A Heptagonal number represents heptagon and belongs to a figurative number. Heptagonal has… Read More »

## Centered tridecagonal number

Given a number n, the task is to find the nth Centered Tridecagonal Number. A Centered tridecagonal number represents a dot at the center and… Read More »

## Pentagonal Pyramidal Number

Given a number n, find the nth pentagonal pyramidal number. A Pentagonal Pyramidal Number belongs to the figurate number class. It is the number of… Read More »

## Smarandache-Wellin Sequence

Given a number ‘n’, generate the first ‘n’ terms of the Smarandache-Wellin Sequence. The Smarandache-Wellin Sequence is a sequence formed by the Smarandache-Wellin numbers. Each… Read More »