3x+1 AKA the Collatz Conjecture is a famous math problem named after the mathematician Lothar Collatz who discovered the problem in 1937. (Scroll to the bottom for credits if you don't care about how this works) It works like this: If the number is odd, multiply by 3 and add 1. If the number is even, divide by 2. Then, repeat. Ex. X = 10 10 / 2 = 5 5 * 3 + 1 = 16 16 / 2 = 8 8 / 2 = 4 4 / 2 = 2 2 / 2 = 1 Mathematicians belive that every positive number put through the algorithm ends in 4, 2, and 1, but no one can prove that every number ends in 1 because there are too many numbers. This is why 3x+1 is so famous (among mathematicians). If you are still reading this, feel free to try out the project I made which does the math for a random number between 1 and 10000. Credits: Code - @GreyBeard42 Sources: "The Simplest Math Problem No One Can Solve" -Veritasium on Youtube Collatz conjecture - Wikipedia