Twin primes by kinaba

999.times{|i|$"[i]||$"[1+i.step(999,i+=i+3){|q|$"[q]=1}]||puts([i,i+2]*",")}

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

download

return to the top page