at eq the collatz sequencealso called the problemis the simplest impossible math problem (but don' worrythe program itself is easy enough for beginners from starting numbernfollow three rules to get the next number in the sequence if is eventhe next number is if is oddthe next number is if is stop otherwiserepeat it is generally thoughtbut so far not mathematically proventhat every starting number eventually terminates at more information about the collatz sequence can be found at collatz_conjecture