'''Solution to 3n+1 problem posted here: http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110101&format=html '''