## Nth Square free number

Given a number n, find the n-th square-free number. A number is square-free if it is not divisible by a perfect square other than 1.… 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 a number n, find the n-th square-free number. A number is square-free if it is not divisible by a perfect square other than 1.… Read More »

Given a string of digits 0 – 9. The task is to count number of substrings which when convert into integer form an even number.… Read More »

Given a set of non-negative distinct integers, and a value m, determine if there is a subset of the given set with sum divisible by… Read More »

Given a string consisting of integers 0 to 9. The task is to count the number of substrings which when convert into integer are divisible… Read More »

Given an array of digits (contain elements from 0 to 9). Find the largest number that can be made from some or all digits of… Read More »

Given a number, check whether a given number is divisible by 36 or not. The number may be very large and may not fit in… Read More »

Given a number, the task is to find if the number is divisible by 9 or not. The input number may be large and it… Read More »

Given a large positive number as string, count all rotations of the given number which are divisible by 4. Examples: Input: 8 Output: 1 Input:… Read More »

Given a number, the task is to check if a number is divisible by 6 or not. The input number may be large and it… Read More »

Given a number, the task is to check if a number is divisible by 8 or not. The input number may be large and it… Read More »

Given a number, the task is to check if a number is divisible by 4 or not. The input number may be large and it… Read More »

Given a number, the task is that we divide number by 3. The input number may be large and it may not be possible to… Read More »

Given a number, the task is to check if the number is divisible by 11 or not. The input number may be large and it… Read More »

Given an array of integer numbers, we need to find maximum size of a subset such that sum of each pair of this subset is… Read More »

Given a string consisting of digits 0-9, count the number of subsequences in it divisible by m. Examples: Input : str = “1234”, n =… Read More »