OFFSET
0,1
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 0..10000 (First 1000 terms from Harry J. Smith)
MATHEMATICA
(-1)^PrimePi[Range[0, 110]] (* Harvey P. Dale, Nov 02 2015 *)
PROG
(PARI) { for (n=0, 1000, if (n, a=(-1)^primepi(n), a=1); write("b065357.txt", n, " ", a) ) } \\ Harry J. Smith, Sep 30 2009
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Jason Earls, Oct 31 2001
STATUS
approved