Collatz Conjecture on a Circle

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

The Collatz conjecture starts with any natural number , then applies when is even and when is odd. According to the conjecture, repeating this procedure eventually reaches 1 for any starting number . The sequence of iterates this procedure produces is called the Collatz path of . This Demonstration shows this path for the first integers by arranging the integers around a circle in counterclockwise order from 1 (marked with a circle).

Contributed by: Hector Sanchez (February 2012)
Open content licensed under CC BY-NC-SA


Snapshots


Details

If you choose "number type" for the color control, the lines are colored according to this table:



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send