Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Terms of use
Privacy Policy

More Mathematics
CTK Exchange

Games to Relax
Guest book
Recommend this site

Sites for teachers
Sites for parents

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

Toads And Frogs Puzzle

The Toads And Frogs Puzzle is also known under the names of Hares and Tortoise and Sheep and Goats. With no animals at hand, it can be played with two kinds of coins. The following names still reflect on the essence of the activity: Hop, Skip, Jump and Traffic Jam.

N frogs are placed on N successive positions on the left of a string of squares; M toads occupy M rightmost squares. On the whole, there are M + N + 1 squares, so that just one square remains unoccupied.

Frogs only move rightward; toads move leftward. Every move is either a Slide to the nearby square or a Jump over one position, which is allowed only if the latter is occupied by a fellow of a different kind. In any case, no two animals are allowed in the same square.

The goal is to move toads into M leftmost positions and the frogs into N rightmost positions.

The number of toads and frogs can change between 1 and 5. Originally, N = M = 3. These are shown just above the string of squares. To change the values, click on either a little off its center line.

<hr> <h3> 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. </h3> <hr>

Explanation

Copyright © 1996-2008 Alexander Bogomolny



Search:
Keywords: