OFFSET
1,2
REFERENCES
Lynn Arthur Steen and J. Arthur Seebach, Jr., Counterexamples in Topology, Dover, New York, 1978, page 134.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[n_] = PrimePi[n] + (-1)^(PrimePi[n] + 1); Table[f[n], {n, 1, 200}]
PROG
(PARI) a(n) = primepi(n) + (-1)^(primepi(n) + 1); \\ Michel Marcus, Oct 12 2018
CROSSREFS
KEYWORD
sign
AUTHOR
Roger L. Bagula, Oct 07 2006
EXTENSIONS
Edited by N. J. A. Sloane, Oct 08 2006
STATUS
approved