Twin primes by pooq

class A{static public void main(String[]_){for(int p=2,i;p<2e3;){for(i=p++;p*(p+2)%i-->0;);if(i<1)System.out.println(p+","+(p+2));}}}

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

download

return to the top page