of which jug is filled in from the river.
assume you keep filling the big, 5 liter jug and pouring from it into the smaller one. if the small one is full but the big one is not, empty the small one. how long will you be able to go on in this manner. here's the sequence of amounts of water in the tow jugs.
1) 0-0, 2) 5-0, 3) 2-3, 4) 2-0, 5) 0-2, 6) 5-2, 7) 4-3, 8) 4-0.
1) 0-0, 2) 5-0, 3) 1-4, 4) 1-0, 5) 0-1, 6) 5-1, 7) 2-4, 8) 2-0.
on the next operation the difference between two possibilities will become transparent. pouring the whole of the 