Palindromic prime by koyama41

main=mapM print[x|x<-[2..12^4],mod(2^x-2)x+(read.reverse.show)x==x]

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

download

return to the top page