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

Happy 8

The purpose of the game, as with the Lucky 7 puzzle, is to return the counters into their Home position, position they were in before reshuffling. The puzzle consists of several counters placed on two intersecting circles. There are six points of control: the two central counters and the two pairs of counters adjacent to the central ones. In the case of 8 counters, these are numbered 1, 8, 7, 3, 4, 5. Clicking on the upper counters induces clockwise rotations. Clicking on the lower counters results in counterclockwise rotations. Left counters rotate the left circle. Right counters rotate the right circle. The middle ones handle the whole set.

If the "Cycles" box is checked, a permutation of counters needed to solve the puzzle is displayed. The permutation is presented as a product of cycles.


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

In the general framework of Graph Theory, R.Wilson gave a complete treatment of puzzles on graphs of which the Lucky 7 is a particular case. His results do not directly apply to the Happy 8 puzzles. However, combining some of his auxiliary Lemmas I can claim the following

Theorem

Let's denote the three available (counterclockwise) moves r (right cycle), l (left cycle), and w (whole set cycle).

Let n+2 be the number of counters on each of the two puzzle cycles. The total number of counters is thus 2(n+1). If n is odd then every even permutation can be obtained using r and l cycles. If, in addition, w is also used, then every starting configuration becomes solvable. If n is even, the puzzle is solvable for any starting configuration even if only r and l cycles are used.

Proof

The proof hinges on the ability to demonstrate that the two conditions of Lemma 5 are satisfied. The fact that the group <r, l > generated by the two basic moves is 2-transitive is tedious but otherwise straightforward (see a similar statement for Blithe 12.) Less trivial but no less tedious is a demonstration that <r, l > contains a 3-cycle.

Counters are numbered 1,2,...,n+1,n+2,...,2n+1,2(n+1). The proof consists in constructing a sequence of permutations (mostly applying Lemma 1) such that the last permutation in the sequence is a 3-cycle. To make the derivations more intuitive, let's use the following numbering of counters: a1,a2,...,an+1,b1,b2,...,bn,bn+1, where a1 = 1 and so on counterclockwise.

In these notations

l = (a1,a2,...,an+1,bn+1)
r = (b1,b2,...,bn+1,an+1)

Define p = lr and q = rl. We find that

p = (a1 a2 ... an b1 b2 ... bn bn+1)
q = (b1 b2 ... bn a1 a2 ... an an+1)

Now let's start forming our sequence of permutations:

s1p-1q= (a1 bn+1)(b1 an+1)
s2q-1s1 q= (a2 bn+1)(b1 b2)
s3q-1s2 q= (a3 bn+1)(b2 b3)
s4pns1 p-n= (a1 an+1)(b1 b2)
s5s2 s4= (a1 an+1)(a2 bn+1)
s6q-1s5 q= (a2 b1)(a3 bn+1)
s7pn-1s1 p-(n-1)= (a2 an+1)(b2 b3)
s8s3 s7= (a2 an+1)(a3 bn+1)
s9s6 s8= (a2 an+1)(a2 b1)

The latter is a 3-cycle.

 

 

 

Copyright © 1996-2008 Alexander Bogomolny

 

 

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

conway's game of life
Posted by frequency
0 messages
11:52 PM, May-12-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

Josephus Flavius (correction)
Posted by David Turner
1 messages
09:42 AM, May-14-08