411 REFERENCE · Wikibooks
Puzzles/Action sequences/Barrel of Ale/Solution
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Puzzles | Action sequences | Barrel of Ale | Solution
There are 6 operations that can be done in any order to arrive at one pint. These are: Filling the 5 pint mug, filling the 3 pint mug, pouring the contents of the 5 pint mug into the 3 pint mug, pouring the contents of the 3 pint mug into the 5 pint mug, emptying the 3 pint mug (presumably by drinking it), and emptying the 5 pint mug. Using these operations, there are two ways to arrive at 1 pint.
5 Pint Mug 3 Pint Mug1 5 02 2 33 2 04 0 25 5 26 4 37 4 38 4 09 1 3
Or, much more quickly:
5 Pint Mug 3 Pint Mug1 0 32 3 03 3 34 5 1