Palindromic prime by hallvabo

x=2
while x<2e4:
\x09if`x`==`x`[::-1]and~-2**x%x<2:print x
\x09x+=1

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

download

return to the top page