UPSC CSAT 2023 Q25: Counting Divisors of a Number — Solved
Let x be a positive integer such that 7x + 96 is divisible by x. How many values of x are possible?
- 10
- 11
- 12
- Infinitely many
Answer: (c) 12
Solution
- Write the condition as a fraction: (7x + 96) ÷ x must be a whole number.
- Split the fraction: (7x + 96) ÷ x = 7x/x + 96/x = 7 + 96/x.
- The 7 is always a whole number. So the whole expression is a whole number exactly when 96/x is a whole number.
- So the condition is: x must be a divisor of 96. The coefficient 7 plays no part.
- Factorise 96: 96 = 2 × 48 = 2 × 2 × 24 = 2 × 2 × 2 × 12 = 2 × 2 × 2 × 2 × 6 = 2 × 2 × 2 × 2 × 2 × 3. So 96 = 2⁵ × 3¹.
- Count the divisors with the rule: add 1 to each exponent and multiply. Number of divisors = (5 + 1) × (1 + 1) = 6 × 2 = 12.
- Check by listing them in pairs that multiply to 96: 1 × 96, 2 × 48, 3 × 32, 4 × 24, 6 × 16, 8 × 12. That gives 6 pairs, so 12 divisors: 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 96.
- Spot-check two values. x = 1: 7 + 96 = 103, and 103 ÷ 1 = 103, a whole number. x = 96: 7 × 96 + 96 = 768, and 768 ÷ 96 = 8, a whole number. A non-divisor such as x = 5 gives 131 ÷ 5 = 26.2, so it fails.
- Every positive divisor of 96 works and nothing else does. There are 12 possible values of x.
Answer: 12
Option-wise explanation
- a: incorrect — 10 is what you get if you drop both trivial divisors, 1 and 96. Both are valid: x = 1 gives 103 ÷ 1 and x = 96 gives 768 ÷ 96 = 8. The trap is to count only the 'proper' divisors.
- b: incorrect — 11 comes from dropping one end of the list, usually x = 1 or x = 96 itself. The question asks for every positive integer x, so both ends count. 96 has 12 divisors in all.
- c: correct — (7x + 96)/x = 7 + 96/x, so x must divide 96. Since 96 = 2⁵ × 3, it has (5 + 1)(1 + 1) = 12 divisors, so there are 12 values of x.
- d: incorrect — This trap comes from seeing that 7x is always divisible by x and stopping there. The constant 96 must also be divisible by x, and 96 has only finitely many divisors. Any x above 96 fails at once.
How to eliminate
Split the fraction in your head: 7 + 96/x. 'Infinitely many' is gone straight away, because x cannot be larger than 96. Now count the divisors of 96: 96 = 32 × 3 = 2⁵ × 3, which gives 6 × 2 = 12. If you are unsure of the formula, list the factor pairs (1-96, 2-48, 3-32, 4-24, 6-16, 8-12): 6 pairs make 12. Before marking, check that you have counted both 1 and 96, since 10 and 11 are built on leaving them out. About 30–45 seconds. Attempt this one first: it is a sure mark.
Know more
Divisibility of a linear expression, and counting divisors
If (ax + b) must be divisible by x, split it: (ax + b)/x = a + b/x. The term a is already whole, so the condition reduces to x divides b. The coefficient a does not matter. The question becomes: how many divisors does b have?
Divisor-count rule: if N = p^a × q^b × r^c (prime factorisation), then the number of positive divisors = (a + 1)(b + 1)(c + 1). Each prime can appear in a divisor 0, 1, …, up to its full exponent times, which is why you add 1 to each exponent.
| N | Prime form | Divisors |
|---|---|---|
| 36 | 2² × 3² | 3 × 3 = 9 |
| 60 | 2² × 3 × 5 | 3 × 2 × 2 = 12 |
| 96 | 2⁵ × 3 | 6 × 2 = 12 |
| 100 | 2² × 5² | 3 × 3 = 9 |
| 360 | 2³ × 3² × 5 | 4 × 3 × 2 = 24 |
Worked variant: for how many positive integers x is 4x + 100 divisible by x? (4x + 100)/x = 4 + 100/x, so x must divide 100 = 2² × 5². Divisors = (2 + 1)(2 + 1) = 9: 1, 2, 4, 5, 10, 20, 25, 50, 100.
Watch for: a perfect square has an odd number of divisors, because its square root pairs with itself. If the question asks for x > 1 or for proper divisors, subtract the excluded ones at the end.