Collatz Conjecture

From a positive integer: if even, divide by 2; if odd, multiply by 3 and add 1. Repeat until you reach 1. This demo shows the trajectory, stopping time, and peak value, optionally for two seeds side by side.