Collatz Conjecture Visualizer

The Collatz conjecture (also known as the 3n+1 problem) states that for any positive integer, repeatedly applying the rule — if even, divide by 2; if odd, multiply by 3 and add 1 — will always eventually reach 1. It remains unproven.