More about 3x+1 in https://www.youtube.com/watch?v=094y1Z2wpJg Basically, 3x+1 is a “number simulation” where you choose the starting number,then if the next number is odd,you multiply by 3 then add 1.But if it is a even number,you divide by 2.
Idea from https://www.youtube.com/watch?v=094y1Z2wpJg