The Collatz Conjecture is very simple: Start with any positive integer n. Apply n × 3 + 1 if the number is odd, n ÷ 2 if the number is even. Repeat the process and you will eventually reach 1. It's called a conjecture because mathematicians haven't been able to prove that it is true in all cases.

Number: 5, Iterations: 5

Iterations Number Is odd? Formula Result
15true5 × 3 + 116
216false16 / 28
38false8 / 24
44false4 / 22
52false2 / 21

Computation time: 0 ms

Edit in JS Bin