login
A167596
The number of isolated nonprimes between the nonisolated prime and the isolated prime.
0
0, 3, 3, 4, 3, 4, 4, 4, 3, 3, 4, 4, 3, 5, 4, 4, 3, 6, 5, 6, 6, 6, 5, 6, 6, 6, 6, 6, 5, 6, 5, 5, 4, 4, 3, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1,2
EXAMPLE
a(1)=0 (3>no>2); a(2)=3 (5<6&12&18<23); a(3)=3 (7<12718&30<37); a(4)=4 (11<12&18&30&42<47); a(5)=3 (13<18&30&42<53); a(6)=4 (17<18&30&42&60<67).
CROSSREFS
Cf. A001097 (the nonisolated primes), A007510 (the isolated primes), A014574 (the isolated nonprimes), A167511.
Sequence in context: A342928 A236442 A046537 * A216190 A267592 A243341
KEYWORD
nonn
AUTHOR
EXTENSIONS
All numbers from a(49) onwards corrected and sequence extended beyond a(59) by R. J. Mathar, May 30 2010
STATUS
approved