Palindromic prime by xulapp

for(i=1;++i<2e4;j-i||print(i))for(j=!!/^(.?)(.?).?\2\1$/(i);i%++j;);

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

download

return to the top page