OFFSET
1,1
COMMENTS
p and p+510510 are not necessarily consecutive primes.
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
Both 19 and 19 + 2*3*5*7*11*13*17 = 510529 are prime.
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[p+510510], AppendTo[lst, p]], {n, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 04 2009 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved