# Bags of Dollars

Divide $547 (in whole $ increments) into a number of bags so that I can ask for any amount between $1 and $547, and you can give me the proper amount by giving me a certain number of these bags without opening them. What is the minimum number of bags you will require?

**Leave you answer below:**

5 Comments

Praveen is absolutely right and not mohit. We are supposed to divide $547. So, Last bag can not have $512.

10bags: 1,2,4,8,16,32,64,128,256,36 $ in each bag respectively.

@ Mohit

yes.You are absolutely right.

@ Maghadeera

Sorry.Your answer is wrong.Better luck next time.

10 Bags containing

$1, $2, $4, $8, $16, $32, $64, $128, $256, $512

18 bags