# Tag Archives: Number Divisibility

Given a number N, the task is to find the smallest number not less than N, which has all digits odd.  Examples:   Input: N =… Read More
Given a positive integer N. The task is to find the sum and product of digits of the number which evenly divides the number n.… 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 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 doubly-linked list containing N nodes, the task is to delete all nodes from the list which are divisible by K. Examples:  Input: List… Read More
Given a number n. The task is to find the sum of numbers up to n, that are divisible by 2 or 5.Examples:  Input: n… Read More
Given two numbers A and B. The task is to write a program to find the quotient and remainder of these two numbers when A… 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
Given a number, the task is to quickly check if the number is divisible by 41 or not.  Examples:  Input : x = 123 Output… Read More
Given an Octal number N. The task is to write a program to check if the Decimal representation of the given octal number N is… Read More
Given a large number N and the task is to check if any permutation of a large number is divisible by 8. Examples:  Input: N… Read More
If a positive integer leaves remainder 28 when divided by 143, then what is the remainder obtained on dividing the same number by 13? (A)… Read More