UPSC CSAT 2025 Q5: Number as Sum of Three Distinct Factors — Solved
A natural number N is such that it can be expressed as N = p + q + r, where p, q and r are distinct factors of N. How many numbers below 50 have this property?
- 6
- 7
- 8
- 9
Answer: (c) 8
Solution
- Let the three distinct factors be p > q > r. Each factor of N can be written as N divided by a whole number. So write p = N/a, q = N/b, r = N/c, where a, b, c are distinct whole numbers and a < b < c.
- Substitute into N = p + q + r: N = N/a + N/b + N/c. Divide both sides by N: 1 = 1/a + 1/b + 1/c.
- a cannot be 1. If a = 1, then p = N, and q + r would have to be 0, which is impossible. So a ≥ 2.
- Because a is the smallest of the three, 1/a is the largest fraction. Three fractions add to 1, so the largest must be at least 1/3. That gives a ≤ 3.
- Case a = 3: then 1/b + 1/c = 2/3, with 3 < b < c. The largest b can give is b = 4: 1/4 + 1/5 = 9/20, which is less than 2/3. No solution. (The only fit is 1/3 + 1/3 + 1/3, which repeats a factor and is not allowed.)
-
Case a = 2: then 1/b + 1/c = 1/2, with 2 < b < c. - b = 3: 1/c = 1/2 − 1/3 = 1/6, so c = 6. Valid. - b = 4: 1/c = 1/2 − 1/4 = 1/4, so c = 4. This repeats 4, not distinct. Reject. - b ≥ 5: then c < b would be needed (1/c ≥ 1/2 − 1/5 = 3/10, so c ≤ 3), which breaks b < c. No more solutions.
-
So the only possibility is (a, b, c) = (2, 3, 6), that is, N = N/2 + N/3 + N/6. Check: 1/2 + 1/3 + 1/6 = 3/6 + 2/6 + 1/6 = 6/6 = 1.
- N/2, N/3 and N/6 must all be whole numbers, so N must be divisible by 2, 3 and 6, that is, N must be a multiple of 6. Any multiple of 6 works, so this condition is both necessary and sufficient.
- Check the smallest one: N = 6. Factors 3, 2, 1 are distinct and 3 + 2 + 1 = 6. Another: N = 48. 24 + 16 + 8 = 48.
- List the multiples of 6 below 50: 6, 12, 18, 24, 30, 36, 42, 48. That is 8 numbers (48 ÷ 6 = 8, and the next multiple, 54, is above 50).
Answer: 8 numbers.
Option-wise explanation
- a: incorrect — 6 would need two of the eight multiples of 6 to fail. None do. All of 6, 12, 18, 24, 30, 36, 42, 48 satisfy N = N/2 + N/3 + N/6. You get 6 if you check only a few cases by hand and stop early.
- b: incorrect — 7 comes from dropping one end of the list. Either you leave out N = 6, thinking 1 can't be one of the factors (it can: 1 + 2 + 3 = 6), or you leave out 48 by reading "below 50" as "below 48".
- c: correct — The only distinct solution to 1/a + 1/b + 1/c = 1 is (2, 3, 6), so N must be a multiple of 6. Below 50 there are exactly eight: 6, 12, 18, 24, 30, 36, 42, 48.
- d: incorrect — 9 comes from rounding 50 ÷ 6 = 8.33 up instead of down, or from counting 0 or 54 as well. The trap is careless counting at the boundary. The method itself is fine.
How to eliminate
Recall the identity 1/2 + 1/3 + 1/6 = 1. It tells you every multiple of 6 works, because N = N/2 + N/3 + N/6. Then ask whether any non-multiple of 6 works. Test one or two quickly: for 12 the factors are 1, 2, 3, 4, 6, and 6 + 4 + 2 = 12 works, which is consistent. For 20 the largest three factors are 10, 5 and 4, which add to 19, so no combination reaches 20. Then count the multiples of 6 below 50: the floor of 49 ÷ 6 is 8. Rule out 9 because it needs 54. Rule out 6 and 7 because 6 (1 + 2 + 3) and 48 (24 + 16 + 8) both clearly work. About 45–75 seconds if you know the 1/2 + 1/3 + 1/6 identity, and 2–3 minutes if you have to build it from listing cases. Attempt it in the first pass. It is short and the answer is fixed once you spot the identity.
Know more
Factor-sum problems reduce to unit fractions. Any factor of N is N/k for some whole number k. So "N is the sum of some of its factors" turns into "1 is the sum of some unit fractions 1/k".
For three factors, solve 1/a + 1/b + 1/c = 1 with 2 ≤ a ≤ b ≤ c:
| (a, b, c) | Distinct? | N must be a multiple of |
|---|---|---|
| (2, 3, 6) | Yes | 6 |
| (2, 4, 4) | No | 4 |
| (3, 3, 3) | No | 3 |
The word distinct leaves only the first row. Without it, multiples of 3 or 4 would also count (for example 9 = 3 + 3 + 3), and the answer for N below 50 would be 24.
Two factors never work with distinct values: 1/a + 1/b = 1 only for a = b = 2.
Worked variant. How many numbers below 80 equal the sum of three distinct factors? N must be a multiple of 6, and 79 ÷ 6 = 13.2, so the answer is 13 (6, 12, …, 78).
Method to carry forward:
- Write each factor as N/k.
- Divide through by N to get a unit-fraction equation.
- Bound the smallest denominator: with n fractions summing to 1, the largest fraction is at least 1/n.
- List the cases, apply "distinct" or other conditions, and take the LCM of the denominators.
- Count the multiples of that LCM in the given range, watching the boundary ("below" or "up to").