UPSC CSE Prelims 2026
The correct option is (b) - 8.
[as per provisional answerkey]We need to measure exactly 20 kg using weights of 1 kg, 2 kg, 5 kg, and 10 kg. The constraint is that the number of 1 kg weights (let's call this 'n') must be 8, 9, 10, or 11. We need to find the total number of combinations for the remaining weight () using 2 kg, 5 kg, and 10 kg weights.
Case 1: n = 8 (Remaining weight = 12 kg)
Possible combinations of (10kg, 5kg, 2kg):
1. (1, 0, 1) ->
2. (0, 2, 1) ->
3. (0, 1, x) -> (No integer solution for x)
4. (0, 0, 6) ->
Total for Case 1: 3 ways
Case 2: n = 9 (Remaining weight = 11 kg)
Possible combinations of (10kg, 5kg, 2kg):
1. (1, 0, x) -> (No integer solution)
2. (0, 2, x) -> (No integer solution)
3. (0, 1, 3) ->
Total for Case 2: 1 way
Case 3: n = 10 (Remaining weight = 10 kg)
Possible combinations of (10kg, 5kg, 2kg):
1. (1, 0, 0) ->
2. (0, 2, 0) ->
3. (0, 1, x) -> (No integer solution)
4. (0, 0, 5) ->
Total for Case 3: 3 ways
Case 4: n = 11 (Remaining weight = 9 kg)
Possible combinations of (10kg, 5kg, 2kg):
1. (0, 1, 2) ->
2. (0, 0, x) -> (No integer solution)
Total for Case 4: 1 way
Total number of ways = .
This is a Partition Problem with constraints, where the total sum is fixed and the parity (even/odd nature) of the remaining weight determines the feasibility of using 2 kg weights.