## Sum of first N natural numbers which are divisible by 2 and 7

Given a number N. The task is to find the sum of all those numbers from 1 to N that are divisible by 2 or… Read More »

Given a number N. The task is to find the sum of all those numbers from 1 to N that are divisible by 2 or… Read More »

Given a number n, find the highest power of 2 that divides n. Examples: Input : n = 48 Output : 16 Highest power of… Read More »

Given an array of integers. The task is to find the maximum count of equal numbers in an array after applying the given operation any… Read More »

Given an array, the task is to find the minimum and maximum elements in the array which is divisible by a given number k. Examples:… Read More »

Given an array containing N elements. Each element is either 0 or 5. Find the largest number divisible by 90 that can be made using… Read More »

Given a positive integer n, check if it is an Ore number or not. Print ‘YES’ if n is an ore number otherwise print ‘NO’.… Read More »

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

Given a set of ‘N’ digits. The task is to find the maximum integer that we can make from these digits. The resultant number must… Read More »

Given a number N. The task is to check if the sum of digits of the given number divides the number or not. If it… Read More »

Given a number N. The task is to find the sum of all those numbers from 1 to N that are divisible by 3 or… Read More »

Given a Number N, the task is to find the Remainder when N is divided by R (a two digit Number). The input of the… 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 a number m, find all numbers which have m digits and are a divisor of their right-rotation. Right-rotation of a number N is the… Read More »

Given a number n. The task is to find the sum of numbers up to n, that are divisible 2 or 5. Examples: Input: n… Read More »

Given a number, the task is to quickly check if the number is divisible by 23 or not. Examples: Input : x = 46 Output… Read More »