Skip to content

Instantly share code, notes, and snippets.

@adilakhter
Created February 19, 2013 22:36
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 adilakhter/4990823 to your computer and use it in GitHub Desktop.
Save adilakhter/4990823 to your computer and use it in GitHub Desktop.
let nextCollatz (n:int64) =
if n%2L = 0L then n/2L else 3L*n+1L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment