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

Collatz Conjecture

Define f(n) = n/2 if n is even, and f(n) = 3n + 1, if n is odd. Collatz conjecture claims that regardless of the starting point the iterations settle eventually into a 3-cycle: 4, 2, 1, 4.


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

As a variant, an even number may be stripped entirely of its even factors (not just divided by 2) which leads to a shorter 2-cycle 4, 1, 4. For small numbers convergence is sufficiently fast to be observed even if calculations are carried by hand. The first number that takes more than 100 iterations is 27. Then such numbers become more frequent: 27, 31, 41, 47, 55, 62, ...

Why is it called a conjecture? For a very simple reason that mathematicians have not yet found a way to prove it. The statement is named after Lothar Collatz who proposed it in 1937. Over the time, the statement and its simplicity drew the interest of various mathematicians and was probably arrived at independly by many of them. It goes under different names: 3n + 1 conjecture, the Ulam conjecture, the Syracuse problem, the hailstone sequence, just to give a few examples. However, as Paul Erdõs once remarked, "Mathematics is not yet ready for such problems."

In the more economical form described by R. Terras, where, for an odd n, f(n) = (3n + 1)/2, the conjecture found its way into modern poetry. The American poetess, JoAnne Growney, even composed a poem celebrating the statement:

A Mathematician's Nightmare

Suppose a general store,
items with unknown values
and arbitrary prices
rounded for ease to
whole-dollar amounts.

Each day Madame X,
keeper of the emporium,
raises or lowers each price,
exceptional bargains
and anti-bargains.

Even-numbered prices
divide by two,
while odd ones climb
by half themselves
then half a dollar more
to keep the numbers whole.

Today I pause before
a handsome beveled mirror
priced at twenty-seven dollars.
Shall I buy or wait
for fifty-nine days
until the price is lower?

(As you can check with the applet, the first time the price happens to be lower than the original $27 comes on the 59th day. Short time afterwards, on day 110, the iterations enter the 4, 2, 1 loop.)

Copyright © 1996-2008 Alexander Bogomolny

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