## Find integers that divides maximum number of elements of the array

Given an array arr[] of integers, the task is to find the element (other than 1) which is the factor of maximum number of elements… 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
- Most frequent factor in a range of integers
- Number of divisors of product of N numbers
- Largest Divisor of a Number not divisible by a perfect square
- Maximize the product of four factors of a Number
- Find integers that divides maximum number of elements of the array
- Number of divisors of a given number N which are divisible by K
- 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
- Sum of all odd factors of numbers in the range [l, r]
- 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
- Smallest divisor D of N such that gcd(D, M) is greater than 1

Given an array arr[] of integers, the task is to find the element (other than 1) which is the factor of maximum number of elements… Read More »

Given two positive integers N and M, the task is to find the smallest positive integer which is divisible by N and whose digit sum… Read More »

Given an integer N. The task is to find the maximum possible sum of intermediate values (Including N and 1) attained after applying the beow… Read More »

Given an array of N numbers which has all divisors of two numbers in any order. The task is to find the two numbers whose… Read More »

Given a number N. The task is to express N as sum two Abundant Numbers. If it is not possibe print -1. Examples: Input :… Read More »

Given a number N. FInd the sum of he all amicable numbers up to N. If A and B are Amicable pairs (Two numbers are… Read More »

Given an array arr[] of integers, the task is to count the number of divisors of product of all the elements from given array. Examples:… Read More »

Given two integers N and K, the task is to count all the numbers < N which have equal number of positive divisors as K.… Read More »

You are given a range of numbers, from lower number to higher number (both inclusive). Consider all the factors of these numbers except 1, the… Read More »

Given a positive integer N. Find the largest divisor of the given number that is not divisible by a perfect square greater than 1. Examples:… Read More »

Given two strings, the task is to check whether the frequencies of a character(for each character) in one string is a multiple or a factor… Read More »

Given an interval of integers [A, B]. For each number in this interval compute its greatest odd divisor. Output the sum of these divisors. Examples:… Read More »

Given a number N(1<=N<=109), the task is to find the total number of integers less than equal to n which have exactly 9 divisors. Examples:… Read More »

Given a number N, find the first triangular number whose number of divisors exceeds N. Triangular numbers are sums of natural numbers, i. e., of… Read More »

You’re given a number N and a number K. Our task is to find the kth smallest divisor of N. Examples: Input : N =… Read More »