Twin primes by tanakh

p n=all((/=0).mod n)[2..n-1];main=mapM putStrLn[init$tail$show(x,x+2)|x<-[3..2000],p x,p$x+2]

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

download

return to the top page