Prime differences by recursive

P=[p for p in range(2,542)if all(p%d for d in range(2,p))]
for p,q in zip(P,P[1:]):print P[q+~p]

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

download

return to the top page