-- Background -- The Collatz conjecture, otherwise knows as 3x+1, is a relatively simple math problem nobody's solved yet. The Collatz conjecture starts with any number you want to start with, and has 2 basic rules: - If the number is odd, multiply it by 3 and add 1 (3x+1) to get the next number. - If the number is even, divide it by 2 to get the next number. It is assumed, but not proven, that every number ends up in a loop called the 4, 2, 1 loop where you start with four, divide by 2 twice to get 1, and then go back to 4. "Solving" the conjecture would mean proving that the assumption is correct or incorrect. So far, it holds true after scientists brute-force test every number all the way to 2^68. -- This Project -- This project lets you start with any number, 1-100, and plots out a graph of that number's sequence. It stops after it reaches 1 because at that point it's in the 4, 2, 1 loop. Pressing "s" shows the number sequence and pressing "r" allows you to pick a different number. You can click and drag the graph as well as zoom in/out using the scroll wheel. If you've read this far, comment "unsolved"
Veritasium has a really good video for anyone who wants to learn more about this. The video also inspired this project: https://www.youtube.com/watch?v=094y1Z2wpJg This is just a filler project - ScratchSites is coming out soon!