3x + 1 Sandbox

Start Simulation

Enter any positive integer.

0
Starting...
0
EVEN
Path Length 0 steps

Reached 1!

The sequence completed after 0 steps.

The Rules

The Collatz conjecture (or 3x+1 problem) is a famous unsolved math problem.

  • If Even: Divide the number by 2.
  • If Odd: Multiply by 3 and add 1.
  • Goal: Watch it inevitably crash down to 1!