Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Best sites for teachers
Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Reciprocal links
Privacy Policy

Guest book
News sites

Recommend this site

Best sites for teachers
Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

Farmer and Wife To Catch Rooster and Hen
Sam Loyd's Puzzle

Here's one of Sam Loyd's puzzles with a little taste of mathematics.

On a New Jersey farm, where some city folks were wont to summer, chicken-chasing became an everyday sport, and there were two pet chickens which could always be found in the garden ready to challenge any one to catch them. It reminded one of a game of tag, and suggested a curious puzzle which I am satisfied will worry some of our experts.

The object is to prove in just how many moves the good farmer and his wife can catch the two chickens.

The field is divided into sixty-four square patches, marked off by the corn hills. Let us suppose that they are playing a game, moving between the corn rows from one square to another, directly up and down or right and left.

Play turn about. First let the man and woman each move one square, then let each of the chickens make a move. The play continues by turns until you find out in how many moves it is possible to drive the chickens into such positions that both of them are cornered and captured. A capture occurs when the farmer or his wife can pounce on a square occupied by a chicken.

The game can be played on any checkerboard by using two checkers of one color to represent the farmer and his wife, and two checkers of another color to represent the hen and rooster.

The applet below simulates the puzzle. To help grasp the essence of the puzzle, the applet gives an option to first try catching one chicken with just one member of the family: the farmer catching the rooster or the wife the hen. While writing the simulation I made an assumption, I believe implicit in Sam Loyd's formulation. Holding on to a live chicken not being a simple matter, a fellow who caught a chicken loses the ability to help out the mate in catching the other bird.

To play, drag a farmer or his wife from one location to another, but only one location left, right, up, or down . When both are present, they both are to be moved before the chickens try to escape their pursuers.


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet

Besides the standard 8×8 board, the applet also allows to play the game on the 7×7 and 6×6 boards.

Solution

References

  1. Mathematical Puzzles of Sam Loyd, Selected and Edited by Martin Gardner, Dover, 1959

Other Puzzles by Sam Loyd

  1. The Gordian Knot
  2. Fifteen
  3. Farmer and Wife To Catch Rooster and Hen
  4. Puzzlist vs. Mathematician: A Practical Arithmetic Problem
  5. Can you better Sam Loyd?
  6. Sam Loyd's Geometric Puzzle

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Here's Sam Loyd's original solution:

The amusing point of this puzzle is that, play as you will, the "man" can never catch the "rooster" nor the "woman" the "hen," for, as they say in chess or checkers, the rooster "has got the move" on the man, and for the same reason the woman can never get the "opposition" on the hen. But if they reverse matters, the man going after the hen and the woman after the rooster, the chickens are captured easily! One chicken can be taken on the eighth move, the other on the ninth.

A short experimentation with the puzzle is sufficient to convince one of validity of Sam Loyd's assertion. It's impossible for the farmer alone to catch the rooster and for the wife the hen. It does not make sense either for one of them to help another in catching one of the birds. For that feat would leave the good hearted one one-on-one against the remaining chicken. Because of the symmetry of the starting positions, if such a task can be accomplished, the first fellow would not need any help to start with.

However surprising it may seem, the only possibility that remains is to make the farmer catch the hen and the wife the rooster. To me this is the gist of the puzzle and not counting the minimal number of moves needed.

So how is this possible that the farmer can catch the hen but cannot catch the rooster? For the wife the situation is obviously reversed.

A square P on a checkerboard is naturally described by a pair of integers P = (r, c), where r stands for the row number, c for the column number. As the distance function between to squares we adopt the city-block distance dist1 (also known as the taxicab distance):

dist1((r1, c1), (r2, c2)) = |r1 - r2| + |c1 - c2|,

where, as usual, the vertical bars denote the absolute value.

Let PR, PF, PW, and PH denote locations of the rooster, farmer, wife, and the hen, respectively. At the outset,

dist1(PR, PF) = 2, dist1(PF, PH) = 5.

Three observations are important:

  1. The capture is only possible if the distance between the two opponents is 1 just before the human moves.
  2. A single move by either a chicken or a human changes the distance between them by 1.
  3. Unless it's captured, a move by a chicken restores the parity of the distance between it and the pursuing human.

It thus follows that if the distance dist1(PR, PF) is even just before the farmer moves, his move can't prevent the rooster from moving. The distance between them will remain even before the farmer's next move. According to the observation #1, the farmer is incapable of catching the rooster.

The initial distance dist1(PF, PH) between the farmer and the hen is odd. The farmer can always force the hen into one of the "corner" squares staying at the distance 2 from it (for example being on the diagonal square next to the corner.) The next hen's move will shorten the distance to 1 so that on the next move the farmer will be able to pounce on the hen capturing the bird.

The same logic applies for the 6×6 board, but not for the 7×7 one. On the latter, the farmer is initially at even distances from both the hen and the rooster. Therefore, he can't catch either. The same is true of the wife. The conclusion is that for the given configuration, the 7×7 puzzle could not be solved.

Copyright © 1996-2008 Alexander Bogomolny

28676899Page copy protected against web site content infringement by Copyscape


Search:
Keywords:


Latest on CTK Exchange
Math
Posted by Laura
2 messages
06:56 AM, Apr-15-08

Divisibility rules - Jargon buste ...
Posted by Carolyn
2 messages
08:35 AM, Apr-04-08

product of fractions
Posted by ke_45
3 messages
08:37 AM, May-06-08

Distance to the horizon
Posted by Monty
3 messages
04:38 PM, May-08-08

Mistake on the page (an aside, Be ...
Posted by Max
4 messages
10:28 AM, Feb-28-08

Nim Games - a query
Posted by Akash Kumar
1 messages
08:53 AM, Apr-15-08

A typo in
Posted by alexwajn
1 messages
11:36 PM, Apr-19-08