

A323701


a(n) is the number of primes p such that A007504(n) <= p < A007504(n+1).


1



2, 2, 2, 3, 3, 4, 5, 4, 6, 6, 7, 7, 8, 7, 9, 10, 10, 8, 12, 12, 11, 12, 12, 15, 14, 14, 14, 14, 17, 17, 16, 17, 19, 19, 22, 16, 24, 21, 20, 20, 20, 28, 22, 26, 21, 24, 28, 23, 31, 23, 30, 28, 28, 32, 28, 31, 30, 27, 35, 30, 32, 31, 38, 34, 38, 36, 36, 37, 35, 35
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Corresponds to the number of terms in A321578 which are equal to n.


LINKS

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


EXAMPLE

a(1)=2 because 2 <= 2, 3 < 5;
a(5)=3 because 28 <= 29, 31, 37 < 41.


PROG

(Perl) use ntheory ':all'; sub a { my $p = nth_prime($_[0]+1); my $s = sum_primes($p); prime_count($s$p, $s1) }; print join(", ", map { a($_) } 1..100), "\n"; # Daniel Suteu, Jan 25 2019


CROSSREFS

Cf. A000040, A007504, A321578, A061568.
Sequence in context: A080570 A163001 A239913 * A226591 A194223 A194251
Adjacent sequences: A323698 A323699 A323700 * A323702 A323703 A323704


KEYWORD

nonn


AUTHOR

David James Sycamore, Jan 24 2019


EXTENSIONS

More terms from Daniel Suteu, Jan 25 2019


STATUS

approved



