## Sum of the multiples of two numbers below N

Given three integer A, B and N. The task is to find the sum of all the elements below N which are multiples of either… Read More »

- Sum of the multiples of two numbers below N
- Remove characters from a numeric string such that string becomes divisible by 8
- Smallest perfect square divisible by all elements of an array
- Count of sub-sets of size n with total element sum divisible by 3
- Highest power of two that divides a given number
- Program to find Nth term divisible by a or b
- Minimum number of operations required to reduce N to 1
- Check if a large number is divisible by 2, 3 and 5 or not
- Count of sub-strings that are divisible by K
- Split a number into 3 parts such that none of the parts is divisible by 3
- Check if the sum of perfect squares in an array is divisible by x
- Find minimum x such that (x % k) * (x / k) == n
- Sum of common divisors of two numbers A and B
- Minimum removals in a number to be divisible by 10 power raised to K
- Longest subarray with elements divisible by k
- Find the multiple of x which is closest to a^b
- Possible cuts of a number such that maximum parts are divisible by 3
- Minimum and Maximum element of an array which is divisible by a given number k
- Largest Divisor of a Number not divisible by a perfect square
- Minimum positive integer divisible by C and is not in range [A, B]
- Sum of first N natural numbers which are divisible by 2 and 7
- Smallest multiple of 3 which consists of three given non-zero digits
- Maximum count of equal numbers in an array after performing given operations
- Find all numbers that divide maximum array elements
- Largest number with the given set of N digits that is divisible by 2, 3 and 5
- Program to find count of numbers having odd number of divisors in given range
- Smallest number greater than or equal to N divisible by K
- Minimum number of operations required to delete all elements of the array
- Minimum value that divides one number and divisible by other
- Sum of all the multiples of 3 and 7 below N

Given three integer A, B and N. The task is to find the sum of all the elements below N which are multiples of either… 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 three integers a, b and x, the task is to get the multiple of x which is closest to ab. Examples: Input: a =… Read More »

Given three integers A, B and N, repeat the following process N times: Add a digit to A such that after adding it, A is… Read More »

Given three integer K, L and R (range [L, R]), the task is to find the minimum number of elements the range must be extended… Read More »

Given a very large number in the form of a string, the task is to check if the number is divisible by 75 or not.… Read More »

Given an array of N numbers, the task is to print all the numbers greater than 1 which divide the maximum of array elements. Examples:… Read More »

Given two number A and B, the task is to find the sum of common factors of two numbers A and B. The numbers A… Read More »

Given a number N, the task is to find the sum of all the multiples of 3 and 7 below N. Note: A number must… Read More »

Given a number N and a number K, the task is to find the smallest number greater than or equal to N which is divisible… Read More »

Given a number N and a number K, the task is to find the largest number smaller than or equal to N which is divisible… Read More »

Given an integer . The task is to check whether any of its permutations is a palindrome and divisible by 3 or not. Examples :… Read More »

Given M unique digits and a number N. The task is to find the number of N-digit numbers which can be formed from the given… Read More »

Given an integer array arr, the task is to print the minimum number of operations required to delete all elements of the array. In an… Read More »

Given a number N, the task is to check whether the product of digits at even places of a number is divisible by K. If… Read More »