OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
PrimePi/@FoldList[Plus, 0, Prime[Range[50]]]//Rest
PROG
(PARI) { default(primelimit, 3682913); n=0; s=0; forprime (p=2, prime(1000), s+=p; write("b061568.txt", n++, " ", primepi(s)) ) } \\ Harry J. Smith, Jul 24 2009
(PARI) a(n) = primepi(sum(k=1, n, prime(k))); \\ Michel Marcus, Jul 02 2018
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Harvey P. Dale, May 18 2001
STATUS
approved