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

- Smallest number to make Array sum at most K by dividing each element
- Largest Divisor for each element in an array other than 1 and the number itself
- Common divisors of N numbers
- Sum of product of proper divisors of all Numbers lying in range [L, R]
- Count of divisors of product of an Array in range L to R for Q queries
- Count the nodes in the given Tree whose weight is a Perfect Number
- Count of triplets (a, b, c) in the Array such that a divides b and b divides c
- Count of the non-prime divisors of a given number
- Probability that an arbitrary positive divisor of 10^X is an integral multiple of 10^Y
- Length of largest subarray whose all elements Powerful number
- Maximum possible prime divisors that can exist in numbers having exactly N divisors
- Number formed after K times repeated addition of smallest divisor of N
- Product of divisors of a number from a given list of its prime factors
- Maximize sum of minimum difference of divisors of nodes in N-ary tree
- Check if count of even divisors of N is equal to count of odd divisors
- Sum of all perfect square divisors of numbers from 1 to N
- Largest odd divisor Game to check which player wins
- Find the sum of all Betrothed numbers up to N
- Smallest N digit number with none of its digits as its divisor
- Count all pairs of divisors of a number N whose sum is coprime with N
- Sum of all divisors from 1 to N | Set 3
- Palindromic divisors of a number
- Sum of all divisors from 1 to N | Set 2
- Count of Array elements to be divided by 2 to make at least K elements equal
- Print all proper fractions with denominators less than equal to N
- Find elements in a given range having at least one odd divisor
- Check if a number exists with X divisors out of which Y are composite
- Count of square free divisors of a given number
- Coprime divisors of a number
- Count of elements having odd number of divisors in index range [L, R] for Q queries

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