→ Change the slider variable and see how the graph changes. ------------ What is the Collatz Conjecture? ------------ The Collatz conjecture is one of the most famous unsolved problems in mathematics. The conjecture asks whether repeating two simple arithmetic operations will eventually transform every positive integer into 1. ( ↑ Text taken from Wikipedia ↑ ) For more information, go to this link: https://wikipedia.org/wiki/Collatz_conjecture How it works, you can find in "Notes and Credits" !
--------------- What does the program do? --------------- All this program really does is take the number from the variable "START" and recalculate it using two rules: 1) if the number is odd, it is multiplied by three and then calculated plus one (3x+1) 2) if the number is even, it is halved (x/2) These rules also apply to the calculated numbers and are repeated forever. In this program, however, it stops as soon as one is reached, since it repeats from then on: 1 becomes four, four becomes two, and two becomes one again. Finally, the whole thing is represented in a graph. The higher the highest point is, and the more steps there are, the more the graph will shrink (points will become smaller and lines thinner). For better graph quality, run the project on TurboWarp via this link: https://turbowarp.org/821699385?hqpen