Factors & Multiples of Numbers
Factors, Multiples and Divisibility Rules
Two words for one relationship
For positive integers a and b, if b = a × k for some integer k, then
- a is a factor (or divisor) of b, and
- b is a multiple of a.
Both statements say that b ÷ a leaves no remainder. For positive integers a factor is never larger than its multiple.
For example, 6 × 14 = 84, so 6 and 14 are factors of 84, and 84 is a multiple of 6 and of 14. A useful sentence to check your wording: "the multiple is made by multiplying the factor."
Every positive integer has 1 and itself as factors. A prime number is a positive integer greater than 1 with exactly two distinct positive factors, 1 and itself.
The number 1 is neither prime nor composite; a positive integer greater than 1 with more than two positive factors is composite.
Looks can deceive: an odd number that is not divisible by 3 or 5 may still be composite, so test further primes before calling it prime.
Finding all factors with factor pairs
Factors come in pairs that multiply to the number. Test divisors 1, 2, 3, ... in order and stop once the divisor exceeds the square root, because beyond that point you would only find the partners you already have.
Example: factors of 84. √84 ≈ 9.2, so test 1 through 9:
1 × 84, 2 × 42, 3 × 28, 4 × 21, 6 × 14, 7 × 12 (5, 8 and 9 do not divide 84).
That gives 6 pairs and 12 factors: 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84. A number has an odd number of factors only when it is a perfect square, because then one pair repeats a factor.
Multiples go on forever; count them carefully in a range
The multiples of 7 are 7, 14, 21, 28, ... with no end. To count the multiples of k between two numbers, count how many multiples lie up to the top end, and subtract how many lie below the bottom end.
Example: multiples of 7 from 50 to 150. Up to 150 there are ⌊150/7⌋ = 21 (since 21 × 7 = 147). Below 50 there are ⌊49/7⌋ = 7 (up to 49).
So there are 21 − 7 = 14, running from 56 to 147. Check with the list-length formula: (147 − 56)/7 + 1 = 13 + 1 = 14. The "+ 1" counts the first term; dropping it is a classic off-by-one error.
Divisibility rules
Divisor | Test | Why it works |
|---|---|---|
2, 5, 10 | Last digit: even; 0 or 5; 0 | 10 is a multiple of 2 and 5 |
4 | Last two digits form a multiple of 4 | 100 is a multiple of 4 |
8 | Last three digits form a multiple of 8 | 1000 is a multiple of 8 |
3, 9 | Digit sum is a multiple of 3; of 9 | 10, 100, 1000, ... each leave remainder 1 on division by 3 and by 9 |
11 | Alternating sum of digits (starting from the units digit, add, subtract, add, ...) is a multiple of 11, including 0 | 10 leaves remainder −1 on division by 11, 100 leaves +1, and so on |
Example: 2736. Digit sum 2 + 7 + 3 + 6 = 18, a multiple of 9, so 9 divides 2736. Its last three digits, 736 = 8 × 92, so 8 divides it too. Example: 3729. Alternating sum 9 − 2 + 7 − 3 = 11, so 11 divides it (3729 = 11 × 339).
Combining rules for composite divisors
To test a composite divisor, choose parts whose least common multiple is the target divisor and test each part.
Choosing parts that share no common factor is especially convenient because their least common multiple is then their product. Divisibility by 6 can therefore be tested using 2 and 3, and divisibility by 36 using 4 and 9.
Overlapping parts require checking their least common multiple: 4 and 6 establish only divisibility by 12, not 24, whereas 8 and 6 do establish divisibility by 24.
Useful properties
- If d divides a and d divides b, then d divides a + b, a − b and ma for any integer m.
- If a divides b and b divides c, then a divides c.
- Common multiples, least common multiples, greatest common factors and full prime factorisations are developed in their own topics.
Which of the following numbers is divisible by 6 but not divisible by 9?
How many multiples of 12 are there between 100 and 500?