Twin primes by murky-satyr

mutable i,n=1;for(;n<2e3;when(i<2)Nemerle.IO.print("$n,$(n+2)\n"))for({n+=2;i=n-1};n*(n+2)%i>0;)--i

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

download

return to the top page