All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic
Empty the bucket (Posted on 2017-05-29) Difficulty: 3 of 5
You are in the desert and you have 3 buckets of water containing a,b,c liters respectively (a,b,c - positive integers).
You need an empty bucket for an unspecified purpose. Being in the desert you need the water and cannot just pour it away.
You have to pour the contents of one bucket into another one. But in any pouring, you must double the contents of the bucket which receives the water.
For example the sequence of bucket contents could be:

3 2 1
1 4 1
0 4 2

Now show that no matter what a,b,c are, you can always manage to empty a bucket under this constraint.

You may assume:
a>b>c

&
(capacity of each bucket)>(a+b)

See The Solution Submitted by Ady TZIDON    
Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts @ Steve & Brian - the official posts Comment 12 of 12 |
Both of you came very close to the original solution.
Ii is too long to publish as "official" - if one of you cares to abridge it but keeping it  a "full proof "- I'll post it.

If not - i'll refer to my  2-part  text.

  Posted by Ady TZIDON on 2017-06-04 14:50:45
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information