When selecting R for random, make sure to type capital R with no spaces. It will choose random from 2 to 100. Be patient if you chose a large number, it could take a long time to reach 1.
Also known as the Collatz conjecture, the Hailstone Sequence is a mathematical sequence that says if a number is even, divide it by 2 If a number is odd, multiply it by 3 and add 1 and it will always end up at 1 eventually.