Two implementations of the algorithm, which is the foundation of the Collatz conjecture: One for double integers that is used for data analysis and the other for arbitrary large integers.