This is simple implementation of Collatz Conjecture in Jupyter Lab. Try it on your computer or in Google Colab to visualize the problem for any given positive integer, number of iterations, and all the intermediate numbers till you get stuck on the 4 2 1 loop :D