Twin primes by uru

label 1;var i,j:word=3;begin
repeat
for i:=2to j-1do if j*(j+2)mod i=0then goto 1;writeln(j,',',j+2);1:inc(j)until j=1998end.

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

download

return to the top page