this is trying to solve the very simple problem of 3x+1
here is (not mine) a way to explain it https://www.youtube.com/watch?v=094y1Z2wpJg