Lucky numbers by nn

i,j,k;a[9999];main(v){for(v=2;(++j%v?a[k++]=i?a[j-1]:j%10001:1)||(j=k=!printf("%d ",a[i++]),v=a[i]););}

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

download

return to the top page