Program to find count of numbers having odd number of divisors in given range
Given two integers A and B. The task is to count how many numbers in the interval [ A, B ] have an odd number… Read More »
Given two integers A and B. The task is to count how many numbers in the interval [ A, B ] have an odd number… Read More »
Given a positive integer N. The task is to check if N is an unusual number or not. Print ‘YES’ if M is an unusual… Read More »
Given two squares with side lengths and (a > b). The task is to check if difference of their areas is prime or not. Here… Read More »
Given a Hexadecimal number as an input, the task is to convert that number to Binary number. Examples: Input: Hexadecimal = 1AC5 Output: Binary =… Read More »
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 »