Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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