## Dilworth’s Theorem

Let S be a finite partially ordered set. The size of a maximal antichain equals the size of a minimal chain cover of S. This… Read More »

Let S be a finite partially ordered set. The size of a maximal antichain equals the size of a minimal chain cover of S. This… Read More »

Given a large number N and the task is to check if any permutation of a large number is divisible by 8. Examples: Input: N… Read More »

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 »

Given n, find the nth number which is not a perfect square among natural numbers (1, 2, 3, 4, 5, 6, … ) Examples: Input… Read More »

Given three numbers a, b and m where 1<=a, m<=10^6. Given very large 'b' containing up to 10^6 digits and m is a prime number,… Read More »

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 »

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 »

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 »

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 »

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 »

Given an integer n, find whether n is a Polydivisible or not. In mathematics, a number is called Polydivisible if it follows some unique properties.… Read More »

Given two positive integer a and b and a range [low, high]. The task is to find the gretest common divisor of a and b… Read More »

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 »

Given a number n, the task is to find the nth Icosagonal number. An Icosagonal number is the 20-gon is a twenty-sided polygon. The number… Read More »

Given a number n, the task is to find the nth Enneadecagonal number. An Enneadecagonal number is a nineteen-sided polygon in mathematics. It belongs to… Read More »