Factoradic Counter by anta

n,x;main(i){for(i>0||(n+=x=1<<-i*3)/x%8>-i&&(n&=~(x*8-1),main(i-1));n<332936&&printf("%o\n",n);main(0));}

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

download

return to the top page