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

Chameleons of Three Colors

The following problem first appeared in the Kvant magazine (1985). It was offered in Tournaments of Towns competition (1989) and included in at least two problem collections ([Cofman, p. 97, and Tao, p. 83]. We discuss an interactive variant elsewhere.

  Chameleons on an island come in three colors. They wonder and meet in pairs. When two chameleons of different colors meet, they both change to the third color. Given initial amounts of the lizards of each color are 13, 15, and 17, may this happen that, after a while, all of them acquire the same color?

Solution

Copyright © 1996-2008 Alexander Bogomolny

 

 

 

 

 

 

 

 

 

 

 

 

Solution 1

Assume the three colors are red, blue and yellow and the letters r, b, and y stand for the number of chameleons of a particular color. For convenience, we combine the numbers into a vector (r, b, y) so that (13, 15, 17) represent the original state of affairs.

An encounter between a pair of chameleons of different colors can be described as addition of one of the three vectors

  u = (-1, -1, 2), v = (-1, 2, -1), w = (2, -1, -1)

to the current "state" vector (r, b, y). The trick is to consider all operations modulo 3. In the arithmetic modulo 3, all three "encounter" vectors are equal:

  u = (2, 2, 2), v = (2, 2, 2), w = (2, 2, 2)

and the initial vector, say V, is

  V = (13, 15, 17) = (1, 0, 2)  (mod 3).

Observe that

  (1, 0, 2) + (2, 2, 2) = (0, 2, 1)  (mod 3),
(0, 2, 1) + (2, 2, 2) = (2, 1, 0)  (mod 3),
(2, 1, 0) + (2, 2, 2) = (1, 0, 2)  (mod 3).

We see that, with the initial vector (1, 0, 2) modulo 3, the only possible combinations of colors on the island are (1, 0, 2), (0, 2, 1), and (2, 1, 0), and these occur cyclically with period 3.

The combination in question is one of (45, 0, 0), (0, 45, 0), or (0, 0, 45), all of which are (0, 0, 0) (mod 3). None may appear in the 3-cycle of possible configurations.

Solution 2

A different approach has a more arithmetic flavor. Introduce a function T - the Total color - as

  T(r, b, y) = 0·r + 1·b + 2·y = b + 2y.

T is a linear function. In particular, for two vectors s and t,

  T(s + t) = T(s) + T(t).

The same, of course, holds modulo 3.

For the initial vector, T(V) = 2·2 = 1 (mod 3). For the "encounter" vector, T(2, 2, 2) = 0 (mod 3) so that no encounter modifies the value of function T which, thus, remains always the same, 1. However, for the vector in question, T(0, 0, 0) = 0 (mod 3) proving the impossibility of reaching such a combination under conditions of the problem.

References

  1. J. Cofman, What To Solve?, Oxford Science Publications, 1996.
  2. T. Tao, Solving Mathematical Problems, Oxford University Press

Copyright © 1996-2008 Alexander Bogomolny

 

 

 

 

 

 

 

 

No, the condition is not sufficient. For example, (2, 2, 2) is not reducible to a single shape at all. (1, 1, 1) is not reducible either. Try them.

Copyright © 1996-2008 Alexander Bogomolny

28735521Page 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
0 messages
08:17 AM, May-14-08