3x+1 The rule is simple : If the number is odd, multiply by 3, then add 1. If the number is even, divide by 2. The number will eventually reach a loop of 4-2-1. The theory is, that every positive interger applies to this rule. How to use : Input any number. ( Note : If the number has any letters in it, it won't sense it. If the number is to high for Scratch to process, it will reach Infinity. ) Once it has reached one, it moves onto the next number. Variables "current number" : The number that it started from ( not the number that you inputted, the number that it is on ) "x" : the number that it's on, after applying the rule. "highest number" : the highest number that variable "x" reached. "count of steps" : how many times it has applied the rule so far. Have fun with this program!
No one has ever solved this math problem before, and mathematicians have tried to for a long time. Inspiration from the YouTuber "Veritasium". Video : https://www.youtube.com/watch?v=094y1Z2wpJg The graph is not perfect because the line sometimes goes off-screen due to a high number. Mathematicians have tested every integer from 1 - 2⁶⁸.