OFFSET
0,6
EXAMPLE
Distance 1 means that either 2p+1 or 2p-1 is also prime.
MAPLE
with(numtheory): [seq(min(2*ithprime(k)-prevprime(2*ithprime(k)), nextprime(2*ithprime(k))-2*ithprime(k)), k=1..256)];
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 22 2001
STATUS
approved