This is a short little project for messing around with. It generates a hailstone number sequence. Type in any number (Negatives work, but will not cease oscillating because I did not code that part. And integers are what the Conjecture is about, though any rational number will work in this simulation only (not with the actual conjecture)). No matter what number you choose, you will end up with a 4, 2, 1 at the end. It would loop, but I made it stop at one instead of repeating. The conjecture relies on two options. If a number is odd, multiply by three and add one. If even, divide by two. Then do the same with the result. It will always end in 4, 2, 1. Scratch can only handle numbers up to a certain size, so if a number is too big it may say infinity and break. If an invalid character or a 0 is in there, it will fill up completely with 0s. If a number does not end in 421 after the 200,000 list limit, you may be the first person ever to disprove the conjecture. It has never been proven or disproven before. Though, more than likely it just takes over 200,000 iterations to reach the loop. If so, just put in the last value to the interactive again. If you disprove it, then let me know in the comments (but you probably won't. Nobody has ever proven or disproven it).
Thanks to techthings.ca on Youtube for a tutorial on even or odd number detection. Veratasium on Youtube has a good video on this, so you may wanna check it out. Please remix! Yes, this is my first project in over a year. My next one may be big, though, so hand in there.