View script | License | Download script | History | Other scripts by: endo |
19-Apr 16:38 UTC
[0.055] 9.402k
[0.055] 9.402k
Archive version of: collatz.r ... version: 1 ... endo 25-Feb-2010Amendment note: new script || Publicly available? Yes REBOL [Title: "Collatz Problem" Date: 2010-02-25 File: %collatz.r] i: 100000000001 forever [either odd? i [i: i * 3 + 1] [i: i / 2] prin [i tab]] |