Factoradic Counter by cddddr

n;f(x,a,b,c){return x?x%b/c+10*f(x-x%b,a+1,a*b,b):0;}main(){while(n<1001)printf("%d\n",f(n++,3,2,1)*10);}

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

download

return to the top page