## a farmer needs to carry a wolf, a goat, and a cabbage acros

Sequences, counting (including probability), logic and truth tables, algorithms, number theory, set theory, etc.
hacvude
Posts: 1
Joined: Fri Sep 30, 2011 9:17 am
Contact:

### a farmer needs to carry a wolf, a goat, and a cabbage acros

In an old puzzle attributed to Alcuin of York (735-804), a farmer needs to carry a wolf, a goat, and a cabbage across a river. The farmer only has a small boat, which can carry the farmer and only one object (an animal or a vegetable). He can cross the river repeatedly. However, if the farmer is on the other shore, the wolf will eat the goat, and, similarly, the goat will eat the cabbage.

We can describe each state by listing what is on each shore. For example, we can use the pair (FG, WC ) for the state where the farmer and goat are on the first shore and the wolf and cabbage are on the other shore. [The symbol 0 is used when nothing is on a shore, so that (FWGC, 0) is the initial state.]

a) Find all allowable states of the puzzle, where neither the wolf and the goat nor the goat and the cabbage are left on the same shore without the farmer.

b) Construct a graph such that each vertex of this graph represents an allowable state and the vertices representing two allowable states are connected by an edge if it is possible to move from one state to the other using one trip of the boat.

e) Explain why finding a path from the vertex representing (FWGC, 0) to the vertex representing (0, FWGC ) solves the puzzle.

d) Find two different solutions of the puzzle, each using seven crossings.

e) Suppose that the farmer must pay a toll of one dollar whenever he crosses the river with an animal. Which solution of the puzzle should the farmer use to pay the least total toll?

nona.m.nona
Posts: 288
Joined: Sun Dec 14, 2008 11:07 pm
Contact:

### Re: a farmer needs to carry a wolf, a goat, and a cabbage ac

In an old puzzle attributed to Alcuin of York (735-804)....
Yes, this is an old puzzler. How have you gotten started? For instance:
a) Find all allowable states of the puzzle, where neither the wolf and the goat nor the goat and the cabbage are left on the same shore without the farmer.
What do you have on your list of allowable states so far? Where are you stuck?