## Count all the numbers less than 10^6 whose minimum prime factor is N

Given a number N which is prime. The task is to find all the numbers less than or equal to 10^6 whose minimum prime factor… Read More »

- Find a number that divides maximum array elements
- Largest factor of a given number which is a perfect square
- Smallest prime divisor of a number
- Count number of integers less than or equal to N which has exactly 9 divisors
- Check whether a number is Non-hypotenuse number
- Sum of element whose prime factors are present in array
- Prime Factor
- Count common prime factors of two numbers
- Common prime factors of two numbers
- Count numbers from range whose prime factors are only 2 and 3
- Find maximum operations to reduce N to 1
- Count operations of the given type required to reduce N to 0
- Minimize the value of N by applying the given operations
- Minimum prime number operations to convert A to B
- Check if a number is an Unusual Number or not

Given a number N which is prime. The task is to find all the numbers less than or equal to 10^6 whose minimum prime factor… Read More »

Given a number N. The task is to find the largest good number in the divisors of given number N. A number X is defined… Read More »

Given a number N. Find number of almost primes from 1 to . A number is called almost if it has exactly two distinct prime… Read More »

Given a number N (greater than 2 ). The task is to find two distinct prime numbers whose product will be equal to the given… Read More »

Given a number . The task is to find all such numbers less than N and are a product of exactly two distinct prime numbers.… Read More »

Given a number N. The task is to find the sum of all factors of the given number N. Examples: Input : N = 12… Read More »

Given an array of integers.Let us say P is the product of elements of the array. Find the number of of distinct prime factors of… Read More »

Given a range, the task is to find the count of the numbers in the given range such that the sum of its digit is… Read More »

Given Q queries which consist of two integers, one is number(1 <= number <= 106) and the other is N., the task is to find… Read More »

Given two integers L and R. The task is to find the sum of all prime factors of every number in the range[L-R]. Examples: Input:… Read More »

Given a number n, the task of the programmer is to print the factors of the number in such a way that they occur in… 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 two numbers M and N. The task is to print the number which has the maximum number of distinct prime factors of numbers in… Read More »

Given a number N, find the number of distinct prime factors for all numbers in the range [1, N]. Examples : Input : N =… Read More »

Given Q queries. Each query contain a positive integer n. The task is to output the sum of sum of odd number digit contained in… Read More »