Longest Collatz sequence