One of the most famous unsolved problems in mathematics.
June 21, 2017 - Marc Thomson
Definition
The Collatz conjecture states that repetition of a simple rule on any positive integer will eventually converge to 1. The rule is: if the number is even, divide by 2; if the number is odd, multiple by three and add 1.
Let's implement the function in the Wolfram Language, allowing the function to memorize it as it is called.