Divisibility questions ask whether one integer divides another without a remainder. They appear in easy and medium questions as number puzzles, factor questions, and remainder questions. The rules are short, but they only help if you know when to apply them and when prime factorization is faster.
An integer is divisible by an integer if is an integer with no remainder. Equivalently, for some integer . For example, 84 is divisible by 7 because .
Divisibility is not the same as being a factor. Saying 7 divides 84 is the same as saying 7 is a factor of 84. The statements are two ways to describe the same relationship.
| Divisor | Rule | Example |
|---|---|---|
| 2 | Last digit is even | 348 is divisible by 2 |
| 3 | Digit sum is divisible by 3 | 471: 4+7+1=12 |
| 4 | Last two digits form a number divisible by 4 | 1,316: 16 is divisible by 4 |
| 5 | Last digit is 0 or 5 | 2,345 is divisible by 5 |
| 6 | Divisible by both 2 and 3 | 738 is even and 7+3+8=18 |
| 8 | Last three digits form a number divisible by 8 | 5,120: 120 is divisible by 8 |
| 9 | Digit sum is divisible by 9 | 4,536: 4+5+3+6=18 |
| 10 | Last digit is 0 | 7,120 is divisible by 10 |
| 11 | Alternating digit sum is divisible by 11 | 2,915: 2-9+1-5=-11 |
The rule for 11 uses alternating signs from left to right. For 2,915, compute . Since is divisible by 11, the number is divisible by 11.
Every integer greater than 1 can be written as a product of primes in one way, apart from the order of the factors. This fact is the basis for most divisibility questions. To factor a number, divide by the smallest prime that works, then continue with the quotient.
Example. Find the prime factorization of 360.
.
Prime factorization makes divisibility easy. A number is divisible by another number if the first contains at least the same prime factors, with at least the same exponents. For example, 360 is divisible by 12 because , and 360 has . It is not divisible by 16 because 16 needs and 360 has only .
The greatest common factor (GCF) of two integers is the largest integer that divides both. The least common multiple (LCM) is the smallest positive integer divisible by both. Use prime factorization:
Example. Find the GCF and LCM of 84 and 120.
GCF: . LCM: .
A useful relationship for two positive integers is . This identity can save time when one of the values is easy to find.
Divisibility is the special case of remainder zero. For positive integers and , write
where . For example, , so 47 leaves remainder 2 when divided by 5.
Remainder questions often ask about an expression built from a number. If leaves remainder 3 when divided by 8, write . Then , so is divisible by 8. This substitution method is faster than testing numbers.
Example. When is divided by 6, the remainder is 5. What is the remainder when is divided by 6?
Write . Then . The remainder is 3.
Questions may ask whether an expression is always divisible by a certain number. Test small values to eliminate choices, but remember that a single example does not prove a general statement. To prove divisibility, factor the expression and show that the divisor is a factor.
Example. Is always divisible by 6?
Among any three consecutive integers, at least one is even and one is a multiple of 3. The product therefore contains factors of 2 and 3, so it is divisible by 6. This holds for every integer .
This kind of reasoning appears in questions about consecutive integers. The product of consecutive integers is always divisible by . For example, the product of any four consecutive integers is divisible by 24.
If , where are distinct primes, the number of positive factors of is
For , the number of positive factors is . This formula counts positive factors. If a question asks for factor pairs, divide the count by 2, and note that a perfect square has one unpaired factor.
Some divisibility questions use the units digit. A number is divisible by 5 if it ends in 0 or 5. It is divisible by 10 if it ends in 0. It is divisible by 2 if it ends in an even digit. These rules are quick, but they only work for divisors that depend on the last digit. For 3, 9, and 11, use the digit-sum rules instead.
A number is divisible by 4 if its last two digits form a multiple of 4. This works because 100 is divisible by 4, so the part of the number above the last two digits contributes a multiple of 100, which is already divisible by 4. The same reasoning explains why the last three digits determine divisibility by 8.
When a question asks for the smallest number that must be added to make a number divisible by , find the remainder first. The answer is minus the remainder, unless the remainder is zero, in which case no number needs to be added.
| Concept | Rule |
|---|---|
| Divisibility by 3 or 9 | Use the digit sum |
| Divisibility by 4 | Check the last two digits |
| Divisibility by 8 | Check the last three digits |
| Divisibility by 6 | Check divisibility by 2 and 3 |
| Prime factorization | Write the number as a product of prime powers |
| GCF | Lowest shared prime exponents |
| LCM | Highest prime exponents |
| Remainder form | , |
| Number of factors |
Divisibility questions reward a quick check of the question type. If the divisor is small, use a rule. If the divisor is composite or the question involves factors, use prime factorization. If the question involves a remainder, write the division equation and substitute.
Free Problem Solving questions on this topic — try a few now.