Twin primes by kinaba

q=s=1
999.times{puts [q-2,q]*','if 0<s%q*(s*=q*q)%q+=2}

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

download

return to the top page