play and relax: games for kids games
  Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Try our no ads browsing

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
Stories for Young
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
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Tutor Match Tutoring and Homework Help

Sites for teachers
Sites for parents

Education & Parenting

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

A Universal Coloring

Sixtteen dots are arranged in a circular pattern. Each can be painted with one of four colors. Paint the dots in such a way that going around the circle in either direction you will meet all possible (ordered) pairs of two colors by inspecting successive dots [Bicycle, #129].

The applet below offers you a chance to solve similar problems with the number of colors n = 2, 3, 4, 5, and 6 and the numbers of dots equal to n2. (Dots cycle through available colors when clicked upon.)


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?

Discussion

References

  1. J. Konhauser, D. Velleman, S. Wagon, Which Way Did the Bicycle Go?, MAA, 1996, #129

Copyright © 1996-2008 Alexander Bogomolny

 

 

 

 

 

 

 

 

 

 

 

 

 

 


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?

One way to solve the problem is by relating a coloring of n2 dots with n colors to a directed graph. A directed graph, or digraph, is a combination of vertices and directed links or arcs. An arc on a digraph joins one vertex to another according to its direction which is usually indicated by an arrow. Thus it has a starting and an ending vertices. The two vertices may or may not be joined by an arc in the opposite direction. A vertex may be joined to itself, in which case the arc is known as a loop. On a digraph, each vertex has an indegree and an outdegree. The indegree equals the number of arcs that end at this vertex. In other words, the indegree of a vertex is the number of vertices joined to the given vertex. The outdegree is the number of arcs that join this vertex with other vertices. A path is a sequence of arcs in which the ending vertex of one arcs is simultaneously the starting vertex of the subsequent arc.

Let's now return to the problem of dots coloring. By fixing an orientation on the circle we make each pair of successive dots ordered. Consider a graph with n (= number of colors) vertices and paint each vertex with one of the given colors. We join two vertices with an arc iff there is an ordered pair of successive dots painted with exactly same colors. Obviously, solving the problem means finding a coloring of the dots which leads to a complete graph with n vertices, i.e. to the graph in which every vertex is joined to every other (itself, in particular) vertex.

We may also start with such a complete graph. Then a coloring of dots will correspond to a (closed) path on the graph. Within this interpretation we look for a coloring which generates an Euler cycle (also, an Eulerian circuit), i.e. a path that includes all the available arcs in some order and starts and ends at the same vertex. An Euler cycle exists on any digraph whose vertices have the property that, for each, the indegree equals the outdegree. This condition is obviously satisfied by a complete graph. Furthermore, we may start forming an Euler cycle at any vertex and proceed almost randomly: on a complete digraph there is no way to get stuck without completing the jobs!

Note that the dots coloring problem serves a particular case of de Bruijn's cycle construction.

References

  1. N. Hartsfield, G. Ringel, Pearls in Graph Theory, Dover, 1994
  2. V. K. Balakrishnan, Graph Theory, Shaum's Outline Series, 1997

Copyright © 1996-2008 Alexander Bogomolny

30724942Page copy protected against web site content infringement by Copyscape


Search:
Keywords:



Latest on CTK Exchange
try this puzzle ?/?? + ?/?? + ?/? ...
Posted by albert1950
5 messages
12:40 PM, Nov-18-08

Help me find Hisashi ABE, Pythago ...
Posted by likesmath
2 messages
11:11 AM, Oct-06-08

triangle construction
Posted by Elianto84
12 messages
07:06 PM, Oct-30-08

Gardner's Torus cutting puzzle... ...
Posted by itineracy
3 messages
11:22 PM, Nov-02-08

Three Concurrent Circles
Posted by billmillar
2 messages
12:26 PM, Oct-28-08

disjoint sets
Posted by jay_shark
0 messages
07:36 PM, Nov-13-08

Error in Fractal Curves and Dimen ...
Posted by miguemate22
1 messages
08:51 AM, Nov-16-08