*Use in Turbo Mode for faster loading times* Enter a number and watch. This is a formula that always ends in 4, 2, and 1. It works by telling if a number is even. If so, it is divided by two. If it is odd, it is multiplied by three and then added to one. This continues until it reaches an infinite loop of 4, 2, and 1.
I got this idea from a Veritasium video about it and realized I could make it in Scratch.