UPSC CSAT 2026 Q23: Ways to Measure 20 kg with Weights — Solved
There are four types of weights, namely 1 kg, 2 kg, 5 kg and 10 kg. What is the maximum number of different ways one can measure 20 kg, if at least eight but not more than eleven weights of 1 kg are to be used while measuring?
- 7
- 8
- 9
- 10
Answer: (b) 8
Solution
-
Set up the count. Let the number of 1 kg, 2 kg, 5 kg and 10 kg weights be p, q, r and s. Each is a whole number, 0 or more. We need p + 2q + 5r + 10s = 20, with 8 ≤ p ≤ 11. Two ways count as different when the set of weights used is different. The order in which weights go on the pan does not matter.
-
Split by the number of 1 kg weights. p can only be 8, 9, 10 or 11. The rest, 20 − p, must come from 2 kg, 5 kg and 10 kg weights. That rest is 12, 11, 10 or 9 kg.
-
The parity shortcut. 2q and 10s are always even. So the 5 kg weights must give the remainder its parity. If the remainder is even, r must be even. If it is odd, r must be odd.
-
p = 8, remainder 12 kg (even, so r is even). - s = 1: 2 kg left, so r = 0 and q = 1. Weights: 10 + 2. → 1 way - s = 0, r = 0: 12 = 2 × 6, so q = 6. → 1 way - s = 0, r = 2: 12 − 10 = 2, so q = 1. → 1 way - r = 4 would need 20 kg, which is too much. - Ways for p = 8: 3
-
p = 9, remainder 11 kg (odd, so r is odd). - s = 1: 1 kg left, which 2 kg and 5 kg weights cannot make. → 0 ways - s = 0, r = 1: 11 − 5 = 6, so q = 3. → 1 way - r = 3 would need 15 kg, which is more than 11. - Ways for p = 9: 1
-
p = 10, remainder 10 kg (even, so r is even). - s = 1: nothing left, so q = 0 and r = 0. → 1 way - s = 0, r = 0: q = 5. → 1 way - s = 0, r = 2: 10 − 10 = 0, so q = 0. → 1 way - Ways for p = 10: 3
-
p = 11, remainder 9 kg (odd, so r is odd). - s = 1 is not possible, because 10 > 9. - r = 1: 9 − 5 = 4, so q = 2. → 1 way - Ways for p = 11: 1
-
Add the cases. 3 + 1 + 3 + 1 = 8.
-
Check by listing all 8: - 8×1 + 10 + 2 - 8×1 + 6×2 - 8×1 + 5 + 5 + 2 - 9×1 + 5 + 3×2 - 10×1 + 10 - 10×1 + 5×2 - 10×1 + 5 + 5 - 11×1 + 5 + 2×2
Each one adds up to 20 kg.
Answer: 8 ways.
Option-wise explanation
- a: incorrect — 7 is one short of the full count. It usually comes from missing one case, most often the 10 kg weight in the 12 kg or 10 kg remainder (8×1 + 10 + 2, or 10×1 + 10). It can also come from forgetting that q = 0 is allowed (10×1 + 5 + 5).
- b: correct — Split by the number of 1 kg weights. The cases give 3 + 1 + 3 + 1 = 8, and listing the combinations confirms all eight.
- c: incorrect — 9 needs one extra combination. The usual trap is treating the bound as 8 to 12 or 7 to 11. For example, 12 one-kg weights + 4×2 or 7 one-kg weights + 5 + 4×2 adds exactly one way. 'Not more than eleven' stops at 11, and 'at least eight' starts at 8.
- d: incorrect — 10 would need two extra ways. This can happen by stretching the bound at both ends (7 to 12 one-kg weights). It can also happen by counting the same set twice in a different order, such as 5 + 5 + 2 and 2 + 5 + 5.
How to eliminate
Do not try to find a pattern in the options. Just enumerate, which is fast here.
- Write the four remainders: 12, 11, 10 and 9 kg, for 8, 9, 10 and 11 one-kg weights.
- Use parity. With 2s and 5s, the number of 5s must be even for an even remainder and odd for an odd remainder. This cuts each case to one or two choices.
- Remember to try the single 10 kg weight in each case. It fits only in the 12 kg and 10 kg remainders.
- Totals: 3, 1, 3, 1, so 8.
You can also check by symmetry. The even remainders (12 and 10) each give 3 ways and the odd ones (11 and 9) each give 1 way, so the total is 2 × 3 + 2 × 1 = 8.
The options are all close together, so you cannot guess safely. A careful listing is the only reliable route.
About 60–90 seconds with the parity trick. This is a good question to attempt in the first pass: the enumeration is short, and one quick check of the list makes it close to certain.
Know more
Counting ways to make a total from fixed denominations
These questions ask how many ways you can make an amount from coins, notes or weights. The method is always the same:
- Fix the constrained item first. Here that was the 1 kg weights, from 8 to 11. Each value is a separate case.
- Inside each case, fix the largest denomination, then the next largest. Fill the rest with the smallest.
- Prune with parity or divisibility. With 2s and 5s, the number of 5s has the same parity as the remainder. With 3s and 5s, check what is left modulo 3.
- Add the cases. Then list them quickly to make sure nothing is counted twice.
Ways to make a remainder R from 2 kg, 5 kg and 10 kg weights:
| R | Ways |
|---|---|
| 9 | 1 (5+2+2) |
| 10 | 3 (10; 5+5; 2×5) |
| 11 | 1 (5+2+2+2) |
| 12 | 3 (10+2; 5+5+2; 2×6) |
| 13 | 2 (10+... no; 5+4×2; 3×5 no) → 1 |
(For 13: 10 leaves 3, which cannot be made. One 5 leaves 8 = 4×2. Three 5s is 15, which is too much. So the answer is 1.)
Worked variant: How many ways can you make 15 kg from 1, 2, 5 and 10 kg weights using exactly 3 or 4 one-kg weights?
- 3 one-kg weights, remainder 12 → 3 ways.
- 4 one-kg weights, remainder 11 → 1 way.
- Total: 4.
Always read the bounds carefully. 'At least' and 'not more than' both include the end value.