Anonymous user
Hailstone sequence: Difference between revisions
→Nested function call formulation
Line 5,896:
=== Nested function call formulation ===
<lang Mathematica>HailstoneF[n_] := NestWhileList[If[OddQ
This is probably the most readable and shortest implementation.
|