## Count all perfect divisors of a number

Given a number n, count total perfect divisors of n. Perfect divisors are those divisors which are square of some integer. For example a perfect… Read More »

- Find two numbers whose divisors are given in a random order
- Check if a number can be expressed as sum two abundant numbers
- Count number of integers less than or equal to N which has exactly 9 divisors
- Number of divisors of product of N numbers
- Most frequent factor in a range of integers
- Find integers that divides maximum number of elements of the array
- Largest Divisor of a Number not divisible by a perfect square
- Check if frequency of character in one string is a factor or multiple of frequency of same character in other string
- Find the sum of the all amicable numbers up to N
- Find the k-th smallest divisor of a natural number N
- Smallest integer with digit sum M and multiple of N
- Sum of greatest odd divisor of numbers in given range
- Find the largest good number in the divisors of given number N
- Count the numbers < N which have equal number of divisors as K
- Maximum sum after repeatedly dividing N by a divisor
- First triangular number whose number of divisors exceeds N

Given a number n, count total perfect divisors of n. Perfect divisors are those divisors which are square of some integer. For example a perfect… Read More »

Given a natural number n, the task is to find sum of divisors of all the divisors of n. Examples: Input : n = 54… Read More »

Given two numbers a and b, and a number k which is odd. The task is to find all the numbers between a and b… Read More »

Given Q queries, of type: L R, for each query you must print the maximum number of divisors that a number x (L <= x… Read More »

Given two integer numbers, the task is to find count of all common divisors of given numbers? Examples : Input : a = 12, b… Read More »

Given two integer numbers, the task is to find the count of all common divisors of given numbers? Input : a = 12, b =… Read More »

Given two integer numbers, the task is to find the count of all common divisors of given numbers. Input : a = 12, b =… Read More »

Given a natural number, calculate sum of all its proper divisors. A proper divisor of a natural number is the divisor that is strictly less… Read More »

Given a number n, count total number of divisors of n!. Examples: Input : n = 4 Output: 24 4! is 24. Divisors of 24… Read More »

Given a number “n”, find its total number of divisors is even or odd. Examples: Input: n = 10 Output: Even Input: n = 100… Read More »

Given a number “n”, find its total number of divisors is even or odd. Examples : Input : n = 10 Output : Even Input:… Read More »

Given a number “n”, find its total number of divisors are even or odd. Examples : Input : n = 10 Output : Even Input:… Read More »

Given a natural number n, print all distinct divisors of it. Examples: Input : n = 10 Output: 1 2 5 10 Input: n =… Read More »

Given a natural number n, print all distinct divisors of it. Examples : Input : n = 10 Output: 1 2 5 10 Input: n… Read More »