About the 3x+1 (Collatz) Conjecture
The Collatz Conjecture is an unsolved mathematical problem that starts with any positive integer:
- If the number is even, divide it by 2
- If it's odd, multiply by 3 and add 1
- Repeat the process with the result
The conjecture states that no matter what number you start with, you will eventually reach 1.
This tool allows you to visualize how many steps it takes and how high the values get along the way.
You can:
- Enter a number and click Generate Graph to see its sequence
- Toggle between light and dark mode
- Download the chart as a PNG image
- Download the sequence data as CSV
- Zoom and pan the graph with mouse or touch gestures
- Reset zoom anytime
This visualization uses Chart.js and runs entirely in your browser.