The juice and the three jugs

✓ With solution

8 litres of juice for two friends, and three jugs with no markings. How do they share it equally? Then: how many steps do you need to measure 5 litres?

Play the puzzle now
Question 188 L5 L3 L

Sami and Omar have an 8-litre jug full of juice and two empty jugs: one holds 5 litres and the other 3. None of the jugs has any markings, and there's no other container. They can pour from one jug into another until that one is full or the first is empty, and they don't want to spill a single drop.

How do they split the juice, 4 litres each?

Show a hint

The goal is to get 4 litres into the 5-litre jug, which leaves 4 in the big jug too. A full 5-litre jug ends up with 4 if you pour just 1 litre out of it: when would that happen?

Show the answer

Answer: Fill the 5-litre jug from the big one, then fill the 3-litre jug from it and empty the 3 back into the big jug. Pour the 2 litres left in the 5 into the 3. Fill the 5 from the big jug again and top up the 3 from it (it needs just 1 litre), which leaves 4 litres in the 5. Finally, empty the 3 into the big jug, and it has 4 litres too. The key is to get 4 litres into the 5-litre jug, because then what's left in the big jug is 4 litres too. A full 5-litre jug ends up with 4 if you pour out just 1 litre, and that happens when the 3-litre jug already holds 2 litres, so it only has room for 1. That's why you make the 2 litres first: 5 − 3 = 2. The table shows what's in each jug after every pour: seven pours, the fewest possible.

What's in each jug after every pour
pour8 L5 L3 Lstart8001350232336204602515261437440
Question 2

Now you have a tap and just two jugs: one holds 7 litres and the other 3, with no markings. At each step you can fill a jug from the tap, empty a jug completely, or pour from one jug into the other until that one is full or the first is empty.

What is the smallest number of steps to get exactly 5 litres in one of the jugs?

  1. A6 steps
  2. B8 steps
  3. C10 steps
  4. D12 steps
Show the answer

Answer: B) 8 steps. The shortest way starts with the big jug: fill the 7, pour from it into the 3, leaving 4, then empty the 3. Pour from the 7 into the 3 again, leaving 1 litre, empty the 3, and pour that litre into it. Fill the 7 from the tap and top up the 3 from it, which needs only 2 litres, leaving 5 litres in the 7. That's 8 steps, shown in the table. If you start by filling the 3 and pouring it into the 7 again and again, you get there too, but it takes 10 steps: that's the trap. We checked every possible way: none is shorter than 8 steps.

The shortest way: 8 steps, ending with 5 litres in the big jug
step7 L3 Lstart00170243340413510601771853

Never miss a puzzle

Subscribe to Khamantiq on YouTube and turn on the bell to get new puzzles first.

Subscribe to the channel