Week 4 -- Collatz sequence