OFFSET
1,1
COMMENTS
Locate the smallest i such that prime(n)=A064413(i), the smallest j>i such that prime(n+1)=A064413(j), and set a(n)=j-i-1. - R. J. Mathar, Feb 03 2011
EXAMPLE
The gap length between the primes 2 and 3 is 2.
The gap length between the primes 3 and 5 is 4.
The gap length between the primes 5 and 7 is 3.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Parthasarathy Nambi, Feb 10 2005
STATUS
approved
