## Gould’s Sequence

Given a positive Integer n, The task is to print Gould’s sequence up to nth term. In Mathematics, Gould’s sequence is an integer sequence whose… Read More »

## Print all Prime Quadruplet of a number less than it

Given a positive integer n, print every Prime Quadruplet below . Prime quadruplet: In mathematics, Prime Quadruplet is a set of four primes of the… Read More »

## Check if a number is Primorial Prime or not

Given a positive number N, the task is to check if N is a primorial prime number or not. Print ‘YES’ if N is a… Read More »

## Check if the given number is Ore number or not

Given a positive integer n, check if it is an Ore number or not. Print ‘YES’ if n is an ore number otherwise print ‘NO’.… Read More »

## Represent a number as a sum of maximum possible number of Prime Numbers

Given a positive integer . The task is to represent it as a sum of the maximum possible number of prime numbers. (N > 1)… Read More »

## Check whether the given numbers are Cousin prime or not

Given two positive integer n1 and n2, the task is to check if both are Cousin primes or not. Print ‘YES’ if the both the… Read More »

## Chen Prime Number

Given a positive integer n, the task is to check if it is a Chen prime number. If the given number is a Chen Prime… Read More »

## Ulam Number Sequence

Given a positive integer n , the task is to print nth Number of the Ulam Number Sequence Ulam Number: In Mathematics, An Ulam number… Read More »

## Hilbert Number

Given a positive integer n, the task is to print nth Hilbert Number. Hilbert Number: In mathematics, A Hilbert Number is a positive integer of… Read More »

## Program to find the nth Kynea number

Given a positive integer n, the task is to find nth Kynea number. Kynea number: In mathematics, a Kynea number is a positive integer of… Read More »

## Program to check whether a number is Proth number or not

Given a positive integer N, the task is to check if it is a Proth number. If the given number is a Proth number then… Read More »

## Interprime

Given a positive number n, the task is to check whether the given number is Interprime or not. If the given number is Interprime print… Read More »

## Thabit number

Given a positive integer n, the task is to check if it is a Thabit number. If the given number is a Thabit number then… Read More »

## Value of the series (1^3 + 2^3 + 3^3 + … + n^3) mod 4 for a given n

Given a function f(n) = (13 + 23 + 33 + … + n3), the task is to find the value of f(n) mod 4… Read More »

## Count all the numbers in a range with smallest factor as K

Given a range of integer from ‘a’ to ‘b’ . Our task is to calculate the amount of numbers from the interval [ a, b… Read More »