collatz conjecture calculator

the collats conjecture or 3n+1 is a conjecture where if the number is even,
do n/2, but if the number is odd, do 3n+1 over and over until you reach one