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
KEYWORD
nonn,easy
AUTHOR
FUNG Cheok Yin, Jul 12 2017
STATUS
approved