Skip to content
×
Pro Members Get
Full Access!
Get off the sidelines and take action in real estate investing with BiggerPockets Pro. Our comprehensive suite of tools and resources minimize mistakes, support informed decisions, and propel you to success.
Advanced networking features
Market and Deal Finder tools
Property analysis calculators
Landlord Command Center
ANNUAL Save 16%
$32.50 /mo
$390 billed annualy
MONTHLY
$39 /mo
billed monthly
7 day free trial. Cancel anytime
Off Topic
All Forum Categories
Followed Discussions
Followed Categories
Followed People
Followed Locations
Market News & Data
General Info
Real Estate Strategies
Landlording & Rental Properties
Real Estate Professionals
Financial, Tax, & Legal
Real Estate Classifieds
Reviews & Feedback

Updated about 14 years ago on . Most recent reply

User Stats

1,991
Posts
1,136
Votes
Sharad M.
  • Carlsbad, CA
1,136
Votes |
1,991
Posts

A maths problem

Sharad M.
  • Carlsbad, CA
Posted

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

Most Popular Reply

User Stats

22,059
Posts
14,128
Votes
Jon Holdman
  • Rental Property Investor
  • Mercer Island, WA
14,128
Votes |
22,059
Posts
Jon Holdman
  • Rental Property Investor
  • Mercer Island, WA
ModeratorReplied

Sorry, that's trivial. Use binary numbers. You need 10 bags. The first nine hold $1, $2, $4, $8, $16, $32, $64, $128, $256. That's $511 total, so the last bag holds the remaining $23. For any requested amount less than $511, just hand over the proper combination of the first nine bags. For amounts from $512 to $534, hand over the $23 bag, subtract $23 from the requested amount and then apply the first half of the solution.

This is actually a useful problem for real estate. If you go to the trustee sale and they require a cashier's check for the bid amount, but you don't know where the bidding will end, just bring checks arranged like this and hand over the proper set of checks.

Loading replies...