Collatz conjecture (source code)

= Collatz conjecture
{wiki=Collatz_conjecture}

The Collatz conjecture, also known as the 3n + 1 conjecture, is a famous unsolved problem in mathematics that deals with sequences defined in a particular way. The conjecture can be described as follows: 1. Take any positive integer \\( n \\). 2. If \\( n \\) is even, divide it by 2. 3. If \\( n \\) is odd, multiply it by 3 and add 1.