Twin primes by niha

h=Hash[*3..m=2000];m.times{|n|h[n]&&h[(n*n).step(m,n){|x|h[x]=$9}/n-2]&&puts([n-2,n]*",")}

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

download

return to the top page