login
Number of primes in the interval [3n, 4n].
8

%I #19 Dec 30 2024 14:33:23

%S 1,1,1,1,2,2,1,2,2,2,3,4,3,3,3,3,4,4,5,5,5,5,5,4,4,6,6,6,7,6,6,7,7,6,

%T 7,6,5,6,6,7,8,9,8,8,9,9,8,9,10,11,10,10,10,10,9,9,10,10,11,11,11,11,

%U 12,11,11,11,10,12,12,13,14,14,14,15,14

%N Number of primes in the interval [3n, 4n].

%H FUNG Cheok Yin, <a href="/A289494/b289494.txt">Table of n, a(n) for n = 1..10000</a>

%H Andy Loo, <a href="http://arxiv.org/abs/1110.2377">On the Primes in the Interval [3n, 4n]</a>, arXiv:1110.2377 [math.NT], 2011.

%t Join[{1},Rest[Table[PrimePi[4n]-PrimePi[3n],{n,80}]]] (* _Harvey P. Dale_, Dec 30 2024 *)

%Y Cf. A035250, A289493, A289495, A289496, A289497, A289498, A289499, A289500.

%K nonn,easy

%O 1,5

%A _FUNG Cheok Yin_, Jul 07 2017