Lucky numbers by eha

i;a['~~'];main(c,k){for(;++i<1e4;)for(a[i]||printf("%d ",i,k=c=0);++k<1e4;c%(i-1?i:2)||a[k]++)c+=!a[k];}

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

download

return to the top page