Twin primes by 51b

for(x in 3:2000)if(all((x*(x+2))%%(2:(x-1))))cat(x,",",x+2,"
",sep="")

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

download

return to the top page