Skip to content

Tag Archives: Number Divisibility

Given a number N, the task is to check whether the number is divisible by 47 or not. Examples:   Input: N = 1645 Output: yes Explanation: 47 * 35… Read More
Given a number N, the task is to check whether the number is divisible by 31 or not. Examples:   Input: N = 1922 Output: Yes Explanation: 31 * 62… Read More
Given a number N, the task is to check whether the number is divisible by 43 or not. Examples:   Input: N = 2795 Output: yes Explanation: 43 * 65… Read More
Given a number N, the task is to check whether the number is divisible by 71 or not.  Examples:   Input: N = 25411681 Output: yes Explanation: 71 *… Read More
Given three numbers A, B and M such that A < B, the task is to find the sum of numbers divisible by M in… Read More
Given an integer N, the task is to find any N-digit positive number (except for zeros) such that it is not divisible by any of… Read More
Given an integer array arr[], the task is to count the number of partitions possible such that in each partition the minimum element divides all… Read More
Given an array arr[] of N integers, the task is to find the smallest number that divides the minimum number of elements from the array.Examples:  … Read More
Given a large integer N, the task is to find all the possible remainders when N is divided by all the positive integers from 1… Read More
Given an array arr[] of N integers, the task is to find the maximum mod value for any pair (arr[i], arr[j]) from the array.Examples:   Input:… Read More
Given string str consisting of lowercase characters, the task is to check whether the string is divisible by 6 after changing it according to the… Read More
Given a string S consisting of a large hexadecimal number, the task is to check its divisibility by a given decimal number M. If divisible… Read More
Given an array A[] of N integers, the task is to generate an array B[] such that B[i] contains the count of indices j in… Read More
Given an array arr[] of size N consisting of non-zero positive integers. The task is to determine whether the number that is formed by selecting… Read More
Given a large integer X represented as an array arr[] where each arr[i] stores a digit in X. The task is to check whether the… Read More

Start Your Coding Journey Now!