Recursive Collatz Conjecture – codegolf.stackexchange.com

The Collatz Conjecture postulates that if you take any positive integer, then repeat the following algorithm enough times:

if number is odd, then multiply by three and add one
if number is even, then …

For Get Answer – Click here

Leave a Reply

Your email address will not be published. Required fields are marked *