collatz
Helper functions related to the Collatz conjecture