posted by David on .
A farmer has a dog, two geese and three bags of corn. He comes to a river. The boat to ferry him across the river can only hold the man plus two of his six possessions at a time. The farmer knows that if he is not right there the dog will eat a goose or a goose will eat the corn. How many time does the farmer need to cross the river to get all of his possessions safely to the other side?