

A164980


Number of primes between consecutive terms of A164901.


2



0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Conjecture: Each term is 0 or 1. I have confirmed this for the first 3499 terms while calculating this bfile based on A164901's bfile.
2481 and 1018 are the numbers of 0s, 1s, respectively, and 2481/3499 = 0.7090597... is the maximum density of 0s beyond a(1) up to here.
Maximum known run lengths (through a(3486)): 22 0s beginning at a(1182), 8 1s beginning at a(2).
Again through a(3486), there are 204, 157, 113, 69, 57, 37, 28, 11, 12, 12, 5, 5, 7, 4, 0, 2, 0, 0, 0, 0, 0, 1 runs of 0s of length 1, 2, ..., 22, and 524, 143, 36, 11, 6, 3, 0, 1 runs of 1s of length 1, 2, ..., 8.


LINKS

Rick L. Shepherd, Table of n, a(n) for n = 1..3499 .


FORMULA

a(n) = #{primes p  A164901(n) < p < A164901(n+1)}.


CROSSREFS

Cf. A164901.
Sequence in context: A304438 A168181 A324732 * A252372 A168182 A204447
Adjacent sequences: A164977 A164978 A164979 * A164981 A164982 A164983


KEYWORD

nonn


AUTHOR

Rick L. Shepherd, Sep 03 2009


STATUS

approved



