Enter any positive integer See funni graph Try to have the highest amount of steps. Math explanation for nerds: Start with any positive integer. If the number is even, divide it by 2. If it is odd, multiply it by 3 and add 1. Let’s start with 6. 6/2 = 3 3(3)+1 = 10 10/2 = 5 5(3)+1 = 16 16/2 = 8 8/2 = 4 4/2 = 2 2/2 = 1 But 1(3)+1 = 4, and then it goes back to 2, and then 1, and then 4. Now you are stuck in a loop. And no matter what number you start with, you will always reach this loop eventually. The project stops when it reaches 1. Hold space to show the list of numbers. Numbers higher than 180 break the graph a lil bit.
It’s my 4 year scratchiversary so yippee It’s also May the 4th and I got a Star Wars lego set :D