Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #14 Jul 27 2024 23:16:08
%S 0,0,0,1,1,2,3,4,4,4,5,6,6,7,8,8,9,10,10,10,11,12,13,13,13,14,15,15,
%T 16,17,17,17,17,17,18,19,20,20,20,21,21,21,22,22,23,24,24,24,25,26,26,
%U 26,27,27,28,28,28,29,30,30,30,31,32,32,33,33,33,33,34,35,35,35,35
%N Number of primes in A339399 among the values of A339399(k) for k = 1..n.
%H <a href="/index/Par#part">Index entries for sequences related to partitions</a>
%F a(n) = Sum_{k=1..n} pi(c(k)) - pi(c(k)-1), where c = A339399.
%e a(14) = 7; There are 7 primes that are less than or equal to A339399(n). For example, the first 14 values of A339399(n) are 1, 1, 1, 2, 1, 3, 2, 2, 1, 4, 2, 3, 1 and 5 (7 of which are prime).
%Y Cf. A000720, A339399, A340205.
%K nonn
%O 1,6
%A _Wesley Ivan Hurt_, Dec 31 2020