Sub topic 3
Factors, multiples, and divisibility
This chapter assumes you are comfortable with arithmetic on integers (including negatives and zero), exponent notation, and long division. It sets the vocabulary that every later chapter uses: primes, GCD and LCM, and remainders all build on the definitions here.
The core definition
An integer a divides an integer b if b = a × k for some integer k. Several phrases mean the same thing:
- a divides b, written a | b.
- a is a factor (or divisor) of b.
- b is a multiple of a.
- b is divisible by a.
Take 12 = 4 × 3. Then 4 | 12 and 3 | 12, and 12 is a multiple of both 4 and 3. Divisibility says that dividing 12 by 4 leaves no remainder, and that the quotient is an integer.
The statement "a divides b" is different from the fraction b/a. The fraction 12/5 is a perfectly good number, but 5 does not divide 12, because no integer k gives 5 × k = 12.
Factors are few, multiples are endless
A positive integer has only finitely many factors, and each one is at most the integer itself. The positive factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, and 36. The multiples of 36 never stop: 36, 72, 108, and so on.
For positive n, every factor is at most n, and every multiple is at least n. GRE questions test this asymmetry. A statement like "x is a factor of 20" limits x to a short list. A statement like "x is a multiple of 20" leaves x unbounded.
Factor pairs
Factors come in pairs whose product is n. For 36 the pairs are 1 × 36, 2 × 18, 3 × 12, 4 × 9, and 6 × 6. To list all factors of n, test whole numbers d = 1, 2, 3, … and stop once d × d exceeds n. Each divisor you find gives a partner n/d for free.
The same procedure in Python:
def factors(n):
small, large = [], []
d = 1
while d * d <= n:
if n % d == 0:
small.append(d)
if d != n // d:
large.append(n // d)
d += 1
return small + large[::-1]
print(factors(36)) # [1, 2, 3, 4, 6, 9, 12, 18, 36]
print(factors(37)) # [1, 37]The check d != n // d prevents listing 6 twice. That detail matters for the next point: perfect squares have a "middle" factor that pairs with itself, so they have an odd number of factors. A later chapter develops this.
Zero, one, and negatives
The GRE defines integers to include zero and negatives, so these cases come up in edge-case questions.
- 1 divides every integer. Every integer n equals 1 × n.
- Every nonzero integer divides itself and divides 0. For example, 0 = 7 × 0, so 7 | 0.
- 0 is a multiple of every integer. 0 = a × 0 for any a. So 0 is divisible by 5, by −3, and by 1,000,001.
- 0 is not a useful divisor. Division by 0 is undefined, so "divisible by 0" is not a statement you will be asked to use. Zero has no role as a factor of a nonzero number, because 0 × k is always 0.
- Negative integers have factors too. −12 = 4 × (−3), so 4 | −12. The positive factors of −12 are the same as those of 12.
On the GRE, the word "factor" in a question about a positive integer almost always means a positive factor. If a question allows negative values, read the wording carefully. For example, "x is an integer and x divides 10" allows x = −5 and x = −1 as well as 5 and 1.
Rules you can rely on
Suppose a, b, and c are integers, and a ≠ 0.
- Sums and differences. If a | b and a | c, then a | (b + c) and a | (b − c). Reason: b = ak and c = am, so b + c = a(k + m).
- Products. If a | b, then a | bc for any integer c.
- Transitivity. If a | b and b | c, then a | c. Since 3 | 12 and 12 | 60, we get 3 | 60.
- Comparable size. If a | b and b ≠ 0, then |a| ≤ |b|.
- Mutual divisibility. If a and b are positive and each divides the other, then a = b.
The converses fail. These are the usual traps:
- a | bc does not imply a | b or a | c. Take a = 6, b = 4, c = 3: 6 | 12, yet 6 divides neither 4 nor 3. The failure occurs because 6 is composite and its factors 2 and 3 can come from different numbers. When a is prime, the converse does hold, a fact the primes chapter uses.
- a | (b + c) does not imply a | b. Since 5 | (2 + 3), but 5 divides neither 2 nor 3.
- Divisible by 4 and by 6 does not mean divisible by 24. It means divisible by 12, the least common multiple of 4 and 6. The GCD and LCM chapter explains why.
A quick Python check of these claims:
def divides(a, b):
return b % a == 0
# Rule 1 and rule 2
print(divides(7, 21), divides(7, 35), divides(7, 21 + 35)) # True True True
print(divides(7, 21 * 9)) # True
# Converse of the product rule fails
print(divides(6, 4 * 3), divides(6, 4), divides(6, 3)) # True False False
# Both 4 and 6 divide 12, but 24 does not divide 12
print(divides(4, 12), divides(6, 12), divides(24, 12)) # True True FalseBuilding divisibility from factors
If you know n = 12k for an integer k, you know a lot about n at once. It is a multiple of 12, so it is also a multiple of every factor of 12: 1, 2, 3, 4, 6, and 12. Going the other way, if n is a multiple of 4 and of 3, and 4 and 3 share no common factor besides 1, then n is a multiple of 12.
GRE questions often phrase this as "n is divisible by 6 and 10; what else must divide n?" Since n is a multiple of 6 and 10, it is a multiple of their LCM, 30. So 2, 3, 5, 6, 10, 15, and 30 all divide n. Whether 60 divides n is not determined, because n = 30 is a valid choice.
Common errors
| Mistake | Why it is wrong | Correct approach | Column | Column | Column | Column |
|---|---|---|---|---|---|---|
| Listing 0 as a factor of 10 | 0 × k = 0, never 10 | Factors of 10 are 1, 2, 5, 10 (and negatives if allowed) | ||||
| Saying 1 is not a factor of anything | 1 × n = n for every n | 1 divides every integer | ||||
| Forgetting that n is its own factor | n = n × 1 | Include both 1 and n in factor lists | ||||
| Stopping a factor search at n/2 and omitting n | n is a factor of itself | Use the pair method up to the square root | ||||
| Treating "multiple of 5" as positive | 0 and −10 are multiples of 5 | Check whether the problem restricts the sign | ||||
| Assuming a | bc means a | b or a | c | Fails for composite a, such as 6 | 4 × 3 | Test with small composite values |
Why this matters for the GRE
Quantitative comparison questions often hinge on a statement such as "x is a multiple of 6" or "y is a factor of 24". These tell you which values to test. A good habit is to write the allowed values explicitly: x ∈ {…, −12, −6, 0, 6, 12, …}. Then check the edge cases (0, 1, negatives) before you decide that "the answer cannot be determined" or that one quantity is always larger.
Exercise
List all positive factors of 48 using factor pairs. How many are there?
Show answer
The pairs are 1 × 48, 2 × 24, 3 × 16, 4 × 12, and 6 × 8. Stop at 6 because the next candidate, 7, does not divide 48, and 8 already appeared as a partner. The factors are 1, 2, 3, 4, 6, 8, 12, 16, 24, 48, which is 10 factors.
Exercise
Integer n is divisible by 9, and integer m is divisible by 6. Must n + m be divisible by 3? Must it be divisible by 9?
Show answer
Yes for 3, no for 9. Both 9 and 6 are multiples of 3, so n = 3a and m = 3b, and n + m = 3(a + b), which is divisible by 3. For 9, take n = 9 and m = 6: the sum is 15, which is not divisible by 9.
Exercise
If x is a positive integer and 12 | x, which of 8, 9, 18, and 36 must divide x?
Show answer
None of them must divide x. Since 12 | x, only the factors of 12 (1, 2, 3, 4, 6, 12) are guaranteed. The counterexample x = 12 is divisible by none of 8, 9, 18, or 36.
Exercise
A student claims that if 10 | ab, then 10 | a or 10 | b. Give a counterexample.
Show answer
Take a = 4 and b = 5. Then ab = 20, which 10 divides, but 10 divides neither 4 nor 5. The claim fails because 10 is composite: the factor 2 comes from a and the factor 5 comes from b.