login
A098397
Number of primes that are not less than prime(n)-Log2(prime(n)) and not greater than prime(n)+Log2(prime(n)), where Log2=A000523.
2
2, 2, 3, 2, 2, 2, 3, 3, 2, 2, 2, 2, 3, 3, 2, 1, 2, 2, 4, 3, 4, 3, 3, 2, 3, 4, 5, 5, 4, 3, 2, 3, 3, 2, 2, 3, 3, 3, 3, 3, 3, 2, 3, 4, 4, 3, 1, 3, 4, 4, 4, 3, 2, 2, 3, 4, 4, 4, 5, 3, 3, 1, 3, 4, 4, 3, 2, 2, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 3, 3, 4, 3, 3, 4, 4, 4, 3, 2, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 4, 4, 4
OFFSET
1,1
COMMENTS
a(n) = A000720(A098389(n)) - A000720(A098390(n)-1);
A098398(n) <= A098396(n) <= a(n) <= A097935(n).
EXAMPLE
a(10) = #{p prime: A098389(10) <= p <= A098390(10)} =
= #{p prime: 25 <= p <= 33} = #{29,31} = 2.
CROSSREFS
Sequence in context: A037914 A073813 A104517 * A278744 A346213 A082091
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 06 2004
STATUS
approved