a[999];main(c,v){for(;++c<999;a[c]<2&&printf("%d\n",c))if(!a[v=c])for(;v<999;v+=c)++a[v];}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page