module
Credits: Lothar Collatz
Calculates hailstone sequence for given input. For more information refer to:
http://en.wikipedia.org/wiki/Collatz_conjecture
Just for kicks. May help to grasp the concept of feedbackloops.
anonymous user login
~2d ago
~2d ago
~2d ago
~3d ago
~3d ago
~5d ago
~5d ago
~9d ago
~10d ago
~16d ago
Interesting subject, Number Theory is the Queen of Mathematics.
If I put "1" in the input I get 4 iterations, so 1->4->2->1 is a loop in the graph :)