Click the green flag and chose a number. You can then see the graph for the 3x+1 problem. Explanation: start with a number, then repeat until it falls back down to 1: if the number is even, divide it by 2, if it odd, multiply it by 3 and add 1. Comment down some interesting numbers to start with! Also it works for positive and negative WHOLE numbers only
This is the Collatz Conjecture, aka the 3x+1 problem. It is a still unsolved problem if you want to check it out (best way to waste your life). Here is the question: does every starting number fall back down to the 4,2,1 loop or is there another loop? Check out my other projects: https://scratch.mit.edu/studios/31156643