Collatz conjecture


The Collatz conjecture is a conjecture in mathematics named after Lothar Collatz, who first proposed it in 1937.


Consider the following operation on an arbitrary positive integer:

If the number is even, divide it by two.
If the number is odd, triple it and add one.

In modular arithmetic notation, define the function f as follows:


Try the Conjecture




Your Positive Integer:
#


Sequence for the conjecture:
#


Number of steps:
#


















Created by Francisco Javier Montoya Villanueva