Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Obfuscated C code to play with the Collatz Conjecture
main(int c,char **v){int n=atoi(v[1]);while(n-1){n=n&1?3*n+1:n/2;printf("%d\n",n);}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.