Ever wondered what happens when you take any number, then apply a super simple rule over and over again? If the number is even, divide by 2. If it's odd, multiply by 3 and add 1. Repeat. This project visualizes the famous 3x + 1 problem (also known as the Collatz Conjecture) right in Scratch! Just enter any starting number, and watch as it bounces around wildly before eventually falling into the mysterious loop: 4 → 2 → 1. ✨ Features: Tracks the number of steps it takes to reach 1 Plots the values in a live chart Automatically resets the screen if the graph goes off the edge Super fast and easy to use Mathematicians still haven’t proven this works for every number... but you can experiment with as many as you like! On the left of the screen is the value of x and on the right is how many times it will take to get 1!
Thanks to Veritasium's video https://youtu.be/094y1Z2wpJg?si=WWgzLebwY856EDDx for the inspriration