Twin primes by ksk

5.step(m=$$,2){|n|puts [n-2,n]*','if/^(,{2,43})\1+$/!~','*n&&m+3>m=n}

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

download

return to the top page