Project Euler 14: Longest Collatz Sequence

First, refer to this C# solution.

Because we don't need to output the exact length, and the number must be an odd number, we can make it a little faster.



Comments

Popular posts from this blog

Check MySQL query history from command line