1,1

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

Table of n, a(n) for n=1..60.

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.

Sequence in context: A338834 A338835 A210536 * A336640 A258238 A166266

Adjacent sequences: A102764 A102765 A102766 * A102768 A102769 A102770

nonn

Parthasarathy Nambi, Feb 10 2005

approved