login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A289500 Number of primes in the interval [9n, 10n]. 8
0, 1, 1, 1, 1, 1, 1, 2, 2, 1, 4, 2, 1, 4, 3, 3, 3, 4, 3, 5, 4, 2, 4, 5, 5, 4, 4, 5, 6, 5, 4, 5, 4, 6, 5, 6, 6, 7, 7, 6, 7, 7, 6, 8, 8, 8, 9, 9, 8, 8, 9, 6, 8, 7, 7, 6, 7, 8, 8, 10, 10, 12, 11, 10, 12, 12, 11, 12, 10, 11, 12, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,8

LINKS

FUNG Cheok Yin, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = n/log(n) + (1 + log(3^18/10^10))*n/log(n)^2 + O(n/log(n)^3) as n -> infinity. - Robert Israel, Jul 12 2017

MAPLE

seq(numtheory:-pi(10*n)-numtheory:-pi(9*n), n=1..100); # Robert Israel, Jul 12 2017

MATHEMATICA

Join[{0}, Table[PrimePi[10 n] - PrimePi[9 n], {n, 2, 100}]] (* Vincenzo Librandi, Jul 13 2017 *)

PROG

(PARI) a(n) = primepi(10*n) - primepi(9*n); \\ Michel Marcus, Jul 12 2017

(MAGMA) [0] cat [#PrimesInInterval(9*n, 10*n): n in [2..100]]; // Vincenzo Librandi, Jul 13 2017

CROSSREFS

Cf. A035250, A289493, A289494, A289495, A289496, A289497, A289498, A289499.

Cf. A038801.

Sequence in context: A022693 A174498 A146478 * A325276 A098804 A191320

Adjacent sequences:  A289497 A289498 A289499 * A289501 A289502 A289503

KEYWORD

nonn,easy

AUTHOR

FUNG Cheok Yin, Jul 12 2017

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 09:56 EDT 2019. Contains 328315 sequences. (Running on oeis4.)