Lucky numbers by push_back

for(t=[i=1];i<5e3;)t[i]=1+2*i++;for(i=1;p=n=t[i++];)for(;t[--p];p+=n)t.splice(p,1);print.apply(0,t)

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

download

return to the top page