Palindromic prime by murky-satyr

2.upto(2e4){p->"$p"[-1..0]-2g.modPow(p,p)*p/2-2||println(p)}

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

download

return to the top page