Other Collatz conjecture approach

Ramesh Sighn - Jun 29 - - Dev Community

The Collatz conjecture states that for any positive integer ( n ):
If ( n ) is even, divide it by 2 (i.e., ( n \to \frac{n}{2} )).
If ( n ) is odd, multiply it by 3 and add 1 (i.e., ( n \to 3n + 1 )).

. .