Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Misc
7.7K+ articles
Mathematical
5.1K+ articles
Arrays
4.2K+ articles
Greedy
1.4K+ articles
Searching
1.0K+ articles
number-digits
612+ articles
number-theory
424+ articles
large-numbers
107+ articles
divisibility
294+ posts
Recent Articles
Popular Articles
Divisibility Rule of 10 with Examples
Last Updated: 23 July 2025
The Divisibility rule for 10 is one of the simplest rules in mathematics. It helps determine whether a number is divisible by 10 without performing the actual division.Div...
read more
Mathematics
School Learning
divisibility
Number Divisibility
Divisibility Rule of 29
Last Updated: 23 July 2025
Divisibility rules are simple shortcuts that help determine if one number is divisible by another without performing full division. The divisibility rule for 29 helps us q...
read more
Mathematics
School Learning
divisibility
Maths
Divisibility Rule of 23
Last Updated: 23 July 2025
Divisibility rules are simple shortcuts that help determine if one number is divisible by another without performing full division. The divisibility rule for 23 helps us q...
read more
Mathematics
School Learning
divisibility
Maths
Find number of integers that can be obtained by replacing ? in given string for perfect divisibility by 9
Last Updated: 18 January 2024
Given a String S of length N. S contains 'X' at some places. Then your task is to output the number distinct of integers that can be formed by replacing 'X' from the range...
read more
Picked
Geeks Premier League
DSA
divisibility
Java-Strings
Number Divisibility
DSA-Blogs
Geeks Premier League 2023
Find operations for Array Divisibility by Power of 2
Last Updated: 26 April 2023
Given an array of size n, the task is to find the minimum number of operations required in the array such that the product of all array elements is divisible by nth power ...
read more
Sorting
DSA
Arrays
divisibility
Arrays
maths-power
Python Program to print all the numbers divisible by 3 and 5 for a given number
Last Updated: 23 July 2025
Given the integer N, the task is to print all the numbers less than N, which are divisible by 3 and 5.Examples :Input : 50Output : 0 15 30 45Input : 100Output : 0 15 30 45...
read more
Python
Python Programs
divisibility
Count of digits to be removed to make a number divisible by 25
Last Updated: 23 July 2025
Given a number N, the task is to find the minimum number of digits that needs to be removed from the number so that the number will become divisible by 25.Input: N = 71345...
read more
Misc
Mathematical
DSA
divisibility
number-digits
Kth largest N digit number divisible by M
Last Updated: 03 February 2022
Given three positive integers N, K, and M. The task is to find Kth largest N digit number divisible by M.Note: K will be such an integer that Kth largest N digit number di...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
divisibility
number-digits
Find numbers in between [L, R] which are divisible by all Array elements
Last Updated: 23 July 2025
Given an array arr[] containing N positive integers and two variables L and R indicating a range of integers from L to R (inclusive). The task is to print all the numbers ...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Arrays
divisibility
array-range-queries
GCD-LCM
Find X such that elements at only alternate indices in given Array are divisible by X
Last Updated: 23 July 2025
Given an array arr[] of N integers, the task is to find an integer X such that the integers that are divisible by X and the integers that are not divisible by X are altern...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Arrays
divisibility
GCD-LCM
C++ Program to Count rotations divisible by 8
Last Updated: 23 July 2025
Given a large positive number as string, count all rotations of the given number which are divisible by 8.Examples:Input: 8Output: 1Input: 40Output: 1Rotation: 40 is divis...
read more
C++
divisibility
rotation
Java Program for Count rotations divisible by 8
Last Updated: 23 July 2025
Given a large positive number as string, count all rotations of the given number which are divisible by 8.Examples:Input: 8Output: 1Input: 40Output: 1Rotation: 40 is divis...
read more
Java
divisibility
rotation
Python3 Program for Count rotations divisible by 8
Last Updated: 23 July 2025
Given a large positive number as string, count all rotations of the given number which are divisible by 8.Examples:Input: 8Output: 1Input: 40Output: 1Rotation: 40 is divis...
read more
Python
divisibility
rotation
PHP Program to Count Rotations Divisible by 8
Last Updated: 23 July 2025
Given a large positive number as a string, the task is to count all rotations of the given number which are divisible by 8.Examples:Input : 8Output : 1Input : 40Output : 1...
read more
PHP
divisibility
rotation
Javascript Program to Count rotations divisible by 8
Last Updated: 23 July 2025
Given a large positive number as string, count all rotations of the given number which are divisible by 8.Examples:Input: 8Output: 1Input: 40Output: 1Rotation: 40 is divis...
read more
JavaScript
divisibility
rotation
1
2
3
4
...
20