Density Map for the 3n+1 Problem

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.

Start with a number and repeat: if is even, halve it; if is odd, triple it and add one. For example, starting with 3 gives 3, 10, 5, 16, 8, 4, 2, 1. Rearrange the numbers in ascending order and mark those places across row so that the third row has marks at the places 1, 2, 3, 4, 5, 10, 16.

Contributed by: Michael Schreiber (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

detailSectionParagraph


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