Instructions: Watch 3x+1 in action. Background information: 3x+1 is a name given to a mathematical conjecture, there is more information on its Wikipedia page: https://en.wikipedia.org/wiki/Collatz_conjecture How this project works: It detects if the number divided by 2 contains a decimal point, and therefore if it has a decimal point, it would be odd. If it is odd it will multiply the number by 3 and then add 1 to the answer, otherwise it will divide the number by 2. #all #pen #math #3x+1
Go check out @historical_supa's amazing projects! I made it precompute the values for better visibility. Press space to switch between log and linear scale. Interesting starting values: > 9663 > 27 > 1234 > 33554432 (or any number that is 2^n)