Explanation : If Anil has to give 1 rupee he needs a bag with Re.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.