Skip to content

Instantly share code, notes, and snippets.

@danielcristofani
Created July 20, 2020 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielcristofani/3708a074d54ff05fece05070a974a794 to your computer and use it in GitHub Desktop.
Save danielcristofani/3708a074d54ff05fece05070a974a794 to your computer and use it in GitHub Desktop.
Outputs Collatz sequence for one input
r
w +5 . *4 +3 $ . . -0 . -6 :2
. . -0 . -0 =4 *3 -0 :2
. . -0 . . =6 . *3 !
-1 -0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment