If a number is even you divided it by 2 If a number is odd you times it by 3 and add 1 This is a good video about it: https://www.youtube.com/watch?v=094y1Z2wpJg&t=37s