Created
September 8, 2011 19:47
-
-
Save genos/1204474 to your computer and use it in GitHub Desktop.
Obfuscated C code to play with the Collatz Conjecture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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