for(i=2;i<2e4;i++)if(/^(.)?(.)?.?\2\1$/(i))for(j=2;j<i||print(i);j++)if(!(i%j))break;
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page