Numloop by Y.OHNO

i,j;main(n){for(;++i<1000;){for(j=0,n=i;n>1&&n!=7;j++)n=n&1?n*6+2:n+2>>2;printf(n>1?"Infinity":"%d",j);printf(", %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