Anil wants to divide ` 20 into several bags so that one can ask for any amount between ` 1 and ` 20, he can give the proper amount by giving a certain number of these bags without taking out the amount from them. What is the minimum number of bags he will require if each bag has the whole number of rupees?
Answers
Answer:
Step-by-step explanation:
If Anil has to give 1 rupee he needs a bag with Rs.1.
For 2 rupees he had two bags with Re.1 each or Rs.2. bag.
To have minimum bags, he has a bag with Rs. 2.
Now with the two bags he can give Rs.3.
So next he will require a bag with Rs.4.
With these three he can give Rs .5. Rs.6 and Rs.7 and next bag will be one containing Rs.8 and so on.
Thus ,
he would have bags with Re.1. 2. 4. 8. 16. 32.
Sum of which is 63 and remaining 37 can be put in the last bag.
So total number of bags is 7.
Step-by-step explanation:
If Anil has to give 1 rupee he needs a bag with Rs.1.
For 2 rupees he had two bags with Re.1 each or Rs.2. bag.
To have minimum bags, he has a bag with Rs. 2.
Now with the two bags he can give Rs.3.
So next he will require a bag with Rs.4.
With these three he can give Rs .5. Rs.6 and Rs.7 and next bag will be one containing Rs.8 and so on.
Thus ,
he would have bags with Re.1. 2. 4. 8. 16.
that means he wil require 5 bags