UPSC CSAT 2024 Q19: Common Divisors and Bottle Sizes — Solved
A can X contains 399 litres of petrol and a can Y contains 532 litres of diesel. They are to be bottled in bottles of equal size so that whole of petrol and diesel would be separately bottled. The bottle capacity in terms of litres is an integer. How many different bottle sizes are possible?
- 3
- 4
- 5
- 6
Answer: (b) 4
Solution
- Each bottle must hold a whole number of litres, and all bottles are the same size. The 399 litres of petrol must fill a whole number of bottles, so the bottle size must divide 399 exactly. The 532 litres of diesel must also fill a whole number of bottles, so the bottle size must divide 532 exactly.
- So the bottle size must be a common divisor of 399 and 532. Every common divisor of two numbers is a divisor of their HCF, and every divisor of the HCF is a common divisor. So we need the number of divisors of HCF(399, 532).
- Factorise 399. Its digit sum is 3 + 9 + 9 = 21, so 3 divides it: 399 ÷ 3 = 133. Then 133 = 7 × 19. So 399 = 3 × 7 × 19.
- Factorise 532. 532 ÷ 4 = 133, and 133 = 7 × 19. So 532 = 2² × 7 × 19.
- The common prime factors are 7 and 19, each to the power 1. So HCF = 7 × 19 = 133.
- Check: 399 ÷ 133 = 3 and 532 ÷ 133 = 4. Both are whole numbers. 3 and 4 share no common factor, so 133 is the highest common factor.
- Count the divisors of 133 = 7¹ × 19¹. The number of divisors is (1 + 1) × (1 + 1) = 4.
- List them: 1, 7, 19, 133.
-
Check each size: - 1 litre: 399 bottles of petrol, 532 bottles of diesel. - 7 litres: 57 bottles of petrol, 76 bottles of diesel. - 19 litres: 21 bottles of petrol, 28 bottles of diesel. - 133 litres: 3 bottles of petrol, 4 bottles of diesel. All four work.
-
Answer: 4 different bottle sizes are possible.
Option-wise explanation
- a: incorrect — 3 is what you get if you drop the 1-litre bottle and count only 7, 19 and 133. A 1-litre bottle is an integer capacity and divides both volumes, so it counts. That makes the total 4.
- b: correct — HCF(399, 532) = 133 = 7 × 19. It has (1+1)(1+1) = 4 divisors: 1, 7, 19 and 133. Each of these fills both cans exactly.
- c: incorrect — 5 would need a fifth common divisor. 3 divides 399 but not 532, and 2 or 4 divides 532 but not 399. Sizes that fit only one can do not count, because the same bottle size must work for both.
- d: incorrect — 6 comes from mixing up the two cans' divisors, for example adding 3 (petrol only) and 2 (diesel only) to the true four. The question needs divisors common to both numbers, which are the divisors of the HCF only.
How to eliminate
Use the difference. Any common divisor of 399 and 532 also divides 532 − 399 = 133 = 7 × 19. Check 399 ÷ 133 = 3, a whole number, so the HCF is 133. Its divisors are 1, 7, 19 and 133, which gives 4. You do not need to factorise 399 or 532 fully. Do not drop 1, because 1 litre is a valid integer size. About 30–45 seconds once you spot the difference. Attempt this one first; it is a sure mark.
Know more
Common divisors = divisors of the HCF
If a size must divide two (or more) quantities exactly, every valid size divides their HCF. Every divisor of the HCF also works. So:
- Largest possible size = HCF.
- Number of possible sizes = number of divisors of the HCF.
Counting divisors. If N = p^a × q^b × r^c (p, q, r prime), then N has (a+1)(b+1)(c+1) divisors. This count includes 1 and N itself.
Shortcut for the HCF. HCF(x, y) divides x − y. Factorise the difference, then test which of its factors divide one of the numbers. This is often faster than full factorisation.
| Question asks for | Use |
|---|---|
| Largest bottle / tile / group size | HCF |
| How many sizes are possible | Number of divisors of the HCF |
| Least number of bottles at the largest size | (x + y) ÷ HCF |
| Smallest quantity divisible by all sizes | LCM |
Worked variant. Two tanks hold 84 L and 126 L. How many integer bottle sizes can empty both exactly? Difference = 42 = 2 × 3 × 7. 84 ÷ 42 = 2, so HCF = 42. Divisors = (1+1)(1+1)(1+1) = 8: 1, 2, 3, 6, 7, 14, 21, 42. At the largest size, the fewest bottles = 84/42 + 126/42 = 2 + 3 = 5.