Skip to content
×
Try PRO Free Today!
BiggerPockets Pro offers you a comprehensive suite of tools and resources
Market and Deal Finder Tools
Deal Analysis Calculators
Property Management Software
Exclusive discounts to Home Depot, RentRedi, and more
$0
7 days free
$828/yr or $69/mo when billed monthly.
$390/yr or $32.5/mo when billed annually.
7 days free. Cancel anytime.
Already a Pro Member? Sign in here

Join Over 3 Million Real Estate Investors

Create a free BiggerPockets account to comment, participate, and connect with over 3 million real estate investors.
Use your real name
By signing up, you indicate that you agree to the BiggerPockets Terms & Conditions.
The community here is like my own little personal real estate army that I can depend upon to help me through ANY problems I come across.
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 almost 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,127
Votes
Jon Holdman
  • Rental Property Investor
  • Mercer Island, WA
14,127
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...