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

Eight Digits Puzzle

The applet below is a game board for a puzzle. The task is to place eight digits 1 through 8 into eight circles, but there is a caveat. Some of the circles are connected as shown and, for this reason are considered neighbors. The numbers should be placed so that no two successive digits are placed into neighboring circles.

The applet keeps for you the count of the assigned digits. You should only decide where to place the next digit. You do that by clicking on the circle of your choice. You can remove the last placement either by clicking on the corresponding circle or by pressing the "Step back" button at the bottom of the applet. The applet also warns you whenever you place two successive digits into neighboring circles.

 

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
What if applet does not run?

Solution

References

  1. M. Gardner, The Unexpected Hanging and Other Mathematical Diversions, Chicago University Press, 1991
  2. M. Gardner, The Colossal Book of Short Puzzles and Problems, W. W. Norton & Company, 2006, p. 6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Up to reflection and rotation there is only one solution. There are two key observations:

  1. The two center circles are neighbors to six other locations. All other circles have fewer neighbors.

  2. Except of 1 and 8, other digits appear in two "forbidden" pairs. For example, 3 could not stand next to 2 and 4, whereas 8 could not stand next only to 7.

It is therefore clear that both 1 and 8 must, between them, split the two center circles. All other digits will by necessity run into either successors and predecessors.

From here on it's all trial and error, unless you move to the complementary diagram.

The diagram can of course be looked at as a graph whereas the digits are being assigned to its nodes. Our graph is not complete: some edges are missing. We may consider the complementary graph: a graph with the same nodes and the edges missing at the outset. In terms of the complementary graph, the task is to find a Hamilton path on the graph and assign the digits to the nodes of the path in their natural order. Since the center nodes in the complementary graph have only 1 neighbor each, these two nodes must serve as the head and the tail of the path. Other than that, there are just a few choices to make. These are still made by trial and error, but there appear fewer choices than in the original graph.

Copyright © 1996-2008 Alexander Bogomolny

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

Constucting a triangle instructions
Posted by Gerald B.
1 messages
12:20 PM, May-20-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

Need details on a part of Proof o ...
Posted by Manuel S.
2 messages
05:24 PM, May-16-08

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