## Find the largest good number in the divisors of given number N

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 »

- 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. 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 and a number . The task is to find the number of divisors of N which are divisible by K. Here K… Read More »

Given an integer N, the task is to find the maximum product of A, B, C, D such that below conditions satisfy: N%A ==0 &&… Read More »

Given two numbers X and Y. The task is to find the number of elements in the range [X,Y] both inclusive, that have the maximum… Read More »

Given a number N. The task is to find the sum of all the prime divisors of N. Examples: Input: 60 Output: 10 2, 3,… Read More »

Given two numbers n1 & n2, We need to check whether these numbers are equivalent numbers or not. Equivalent numbers are numbers such that the… Read More »

In number theory, an arithmetic number is an integer for which the average of its positive divisors is also an integer. Or in other words,… Read More »

Given two positive integer N, M. The task is to check if N and M are friendly pair or not. In number theory, friendly pairs… Read More »

Given a number, check if it is square free or not. A number is said to be square free if no prime factor divides it… Read More »

Amicable numbers are two different numbers so related that the sum of the proper divisors of each is equal to the other number. (A proper… Read More »

In number theory, the aliquot sum s(n) of a positive integer n is the sum of all proper divisors of n, that is, all divisors… Read More »

Given an interval [x, y]. Find the divisor that occurs maximum number of times except ‘1’ in the divisors of numbers in the range [x,… Read More »

Given a number n, the task is to find the odd factor sum. Examples : Input : n = 30 Output : 24 Odd dividers… Read More »

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

Given a integer number n, find largest sum of digits in all divisors of n. Examples : Input : n = 12 Output : 6… Read More »