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

Solitaire on a Circle

A Solitaire game below is played with a number of counters arranged in a circular pattern. One of the faces of each counter is red, the other is green. A move consists in clicking on a green counter. When you do, the counter is removed. At the same time, its neighbors (if any but at most 2 of course) are flipped over. The goal is to remove all the counters. Beware though that the puzzle is not always solvable. There is a simple condition to check in advance whether it is.

The applet allows you to take a move back (Back button) and to return to the same starting arrangement (Repeat button.)


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

Explanation

Copyright © 1996-2008 Alexander Bogomolny

 

 

 

 

 

 

 

 

 

 

Explanation

Two solutions to this puzzle appear in The American Mathematical Monthly, November, 1997 (104, no 9, p 876.) I'll consider the simpler of the two.

The puzzle is not always solvable. It's solvable iff the initial pattern has a nonzero even number of green counters. Note that the first move (including the flips) changes the parity of the number of green counters. Hence it suffices to prove that contiguous counters with a gap at each end can all be removed if and only if the line has an odd number of green counters or is empty.

The statement is trivial for the empty line; we proceed by induction on n. Suppose first that the number of green counters is odd. We may choose a green counter D having an even number (possibly zero) of green counters to each side. Removing D creates two (possibly empty) shorter lines of counters. If either side is nonempty, completing the move by flipping the neighbor of D creates a line on that side with an odd number of green counters. By the induction hypothesis, the remaining counters on both sides can be removed.

Now suppose that the nonempty line has an even number of green counters. If it has no green counters, then nothing can be removed. Otherwise, each green counter D has an odd number of green counters to one of its sides. Removing D and flipping its neighbor on that side creates a smaller line with an even number of green counters which, by the induction hypothesis, cannot be removed. Thus there is no first counter to remove that permits success.

Copyright © 1996-2008 Alexander Bogomolny

28696949Page 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

drawing puzzle
Posted by martin gran
31 messages
06:53 PM, May-09-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

Deriving functions based on diffe ...
Posted by ke_45
1 messages
12:47 PM, May-10-08

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