#import<ios> main(){int p[999]={2},i,c=2,m=0;for(;2000>c++;)for(i=0;!p[i]or c%p[i];)if(++i>m)if((p[++m]=c)==p[m-1]+2)printf("%d,%d\n",c-2,c);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page