Pages

Thursday, May 04, 2006

Change for a dollar?

Divide $542 (in whole $ increments) into a number of bags so that I can ask for any amount between $1 and $542, 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?

2 comments:

  1. 10 bags
    1,2,4,8,16,32,64,128,256,512

    ReplyDelete
  2. Thta's close, anonymous... You don't have $512 for the last bag:

    You divide $542 (in whole $ increments) into 10 bags as follows:
    1, 2, 4, 8, 16, ... , 256, 31.

    ReplyDelete

Leave your answer or, if you want to post a question of your own, send me an e-mail. Look in the about section to find my e-mail address. If it's new, I'll post it soon.

Please don't leave spam or 'Awesome blog, come visit mine' messages. I'll delete them soon after.