collatz a 3n+1 perl implementation For more information, you can read about it here: http://en.wikipedia.org/wiki/Collatz_conjecture