The infamous problem of 3x+1 Pick a random number, it can be any number. If the number is odd, multiply it by 3 and add 1. If it’s even, divide it by 2. Continue this over and over. No matter what number you use, it will always end a 4-2-1 loop.