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
~4d ago
~4d ago
~8d ago
~16d ago
~24d ago
~1mth ago
~1mth ago
~2mth 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 :)