OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
a(10) = 461 since prime(10) = 89 and prime(89 + 1) - prime(89) = 463 - 461 = 2.
MATHEMATICA
Prime[Prime[Flatten[Position[Table[Prime[Prime[n]+1] -Prime[Prime[n]], {n, 1, 1000}], 2]]]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 23 2004
STATUS
approved