Program 14: Longest Collatz Sequence

Link: http://projecteuler.net/problem=14

Explanation: The longest sequence will be produced by an odd number.