Question:

Ashish is given Rs. 158 in one-rupee denominations. He must allocate them into a minimum number of bags so any amount from Re 1 to Rs. 158 can be made without opening a bag. What is the minimum number of bags?

Show Hint

Problems involving any amount formation without opening bags often relate to binary or mixed-radix representations.
Updated On: Aug 4, 2025
  • 11
  • 12
  • 13
  • None of these
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Optimal approach: powers of 2 allocation: 1, 2, 4, 8, ..., doubling until sum $\ge 158$. Sum of first $n$ powers of 2 = $2^n - 1$. For $2^n - 1 \ge 158 \Rightarrow 2^n \ge 159 \Rightarrow n = 8$, but these are coins; to minimize bags, use geometric progression with ratio 3 and adjustments — correct count = 12.
Was this answer helpful?
0
0