Numloop by Prase

i,n,c;main(){for(;++i<1000;c=0){n=i;while(n!=1&&c++<60)n=n&1?6*n+2:n/4+(n/2)%2;if(n==1)printf("%d, %d\n",c,i);else printf("Infinity, %d\n",i);}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page