The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A037228 a(n) = phi(n) - pi(n). 16
 1, 0, 0, 0, 1, -1, 2, 0, 2, 0, 5, -1, 6, 0, 2, 2, 9, -1, 10, 0, 4, 2, 13, -1, 11, 3, 9, 3, 18, -2, 19, 5, 9, 5, 13, 1, 24, 6, 12, 4, 27, -1, 28, 6, 10, 8, 31, 1, 27, 5, 17, 9, 36, 2, 24, 8, 20, 12, 41, -1, 42, 12, 18, 14, 30, 2, 47, 13, 25, 5, 50, 4, 51, 15, 19, 15, 39, 3, 56, 10, 32, 18, 59, 1, 41, 19 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,7 COMMENTS It is known that a(n) >= 0 for n >= 61. REFERENCES D. S. Mitrinovic et al., Handbook of Number Theory, Kluwer, p. 11. LINKS T. D. Noe, Table of n, a(n) for n=1..1000 MATHEMATICA Table[EulerPhi[n]-PrimePi[n], {n, 90}] (* Harvey P. Dale, Feb 02 2021 *) PROG (PARI) a(n) = eulerphi(n) - primepi(n); \\ Michel Marcus, Aug 08 2019 CROSSREFS Cf. A000010, A000720, A037171, A037229. Sequence in context: A035686 A308214 A327371 * A002117 A042970 A158327 Adjacent sequences:  A037225 A037226 A037227 * A037229 A037230 A037231 KEYWORD sign AUTHOR 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.

Last modified April 21 23:52 EDT 2021. Contains 343156 sequences. (Running on oeis4.)