Skip to content

Instantly share code, notes, and snippets.

@danielcristofani
Created July 20, 2020 02:20
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/170070d2854f5354f6d3a633ca6d851b to your computer and use it in GitHub Desktop.
Save danielcristofani/170070d2854f5354f6d3a633ca6d851b to your computer and use it in GitHub Desktop.
Compute lengths of Collatz sequences for successive numbers
+2 . *6 +3 . . . -0 . -6 +5 :1
-1 -0 =1 . -5 +4 w -4 *4 :1
-1 . -0 . -0 =4 *6 -0 +5 :1
=4 :4
=5 :5
. =2 -0 . . =6 . *6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment