## 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 »

- Make all numbers of an array equal
- Number of array elements derivable from D after performing certain operations
- Program to Convert Hexadecimal Number to Binary
- ElGamal Encryption Algorithm
- Find numbers a and b that satisfy the given conditions
- Count numbers upto N which are both perfect square and perfect cube
- Sum of common divisors of two numbers A and B
- Count Odd and Even numbers in a range from L to R
- Find minimum possible digit sum after adding a number d
- Program to find first N Iccanobif Numbers
- Check whether a number is Non-hypotenuse number
- Most frequent factor in a range of integers
- Closest sum partition (into two subsets) of numbers from 1 to n
- Prime Factor
- Minimum multiplications with {2, 3, 7} to make two numbers equal
- Program to solve the Alligation Problem
- Check if a number is Primorial Prime or not
- Check if a number has digits in the given Order
- Check if difference of areas of two squares is prime
- Natural Numbers
- Count Numbers with N digits which consists of even number of 0’s
- Program to find count of numbers having odd number of divisors in given range
- Check if N is Strong Prime
- Smallest number greater than or equal to N divisible by K
- Find two numbers whose sum and GCD are given
- Sum of first N natural numbers which are divisible by X or Y
- Count of Numbers such that difference between the number and sum of its digits not less than L
- Find the k-th smallest divisor of a natural number N
- Program to check whether a number is Proth number or not
- Value of the series (1^3 + 2^3 + 3^3 + ... + n^3) mod 4 for a given n

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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

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 »