Twin primes by hirose

s=p=1
eval'puts [p,q]*","if(s%p*s%q=p+2)>0
s*=p*p
p+=2
'*999

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

download

return to the top page