OFFSET
1,6
COMMENTS
Number of primes in (phi(n), n]. - Charles R Greathouse IV, Dec 26 2013
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
EXAMPLE
n=12: phi(n)=4, pi(12)-pi(4)=5-2=3.
MATHEMATICA
Array[PrimePi[#] - PrimePi@ EulerPhi@ # &, 97] (* Michael De Vlieger, Dec 16 2017 *)
PROG
(PARI) a(n) = primepi(n) - primepi(eulerphi(n)); \\ Michel Marcus, Dec 26 2013
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Labos Elemer, Jul 10 2003
EXTENSIONS
Name clarified by Antti Karttunen, Dec 16 2017
STATUS
approved