(!!) Enter full screen for all the variables to fit on screen!! Press 1 to insert a number, then the results will come up in the list. NOTE: When using custom rules, the answer will be round if it is a decimal. The number (must be a positive integer) will follow these rules (on default) until it reaches 1: If the number is odd, multiply it by 3 and add 1 If the number is even, divide it by 2 As you plug in enough numbers, you will realize that they always go back down to 4 -> 2 -> 1. If you continue running the rules at the number 1, it will go back to 4, then 2, then 1, creating an infinite loop. This is the Collatz Conjecture, which states that all positive integers that follow these rules will eventually fall back to the 4 -> 2 -> 1 loop. Although this seems to be true, this has not been proven (or disproven) yet, and mathematicians have been trying to solve it for many decades. So far, all positive integers up until 2^71 have been tested, and they have gone to 4 -> 2 -> 1 (according to Wikipedia at least).
(!!) The custom number thing might not work right now but I'm too lazy to go and see if there's anything wrong so uh yeah Random thing made in 15 minutes because I was bored Scratch rounds large numbers to scientific notation, so larger numbers that are greater than or equal to 1e+20 aren't accurate. If you are interested in the Collatz Conjecture, I recommend checking out Veritasium's video on it, as well as carykh's video on the Collatz Multiverse, which explores other rules similar to the Collatz Conjecture, such as multiplying by 3 and adding 2, multiplying by 4 and adding 3, etc. If you find any bugs/errors or have any suggestions, feel free to say them in the comments. If I get anything wrong also tell me please, I am just an eighth grader anyway