cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A061568 Number of primes <= sum of first n primes.

Original entry on oeis.org

1, 3, 4, 7, 9, 13, 16, 21, 25, 31, 37, 45, 51, 60, 66, 75, 85, 95, 103, 115, 127, 138, 150, 162, 177, 191, 205, 219, 233, 250, 267, 283, 300, 319, 338, 360, 376, 400, 421, 441, 461, 481, 509, 531, 557, 578, 602, 630, 653, 684, 707, 737, 765, 793, 825, 853, 884
Offset: 1

Views

Author

Harvey P. Dale, May 18 2001

Keywords

Crossrefs

Programs

  • Mathematica
    PrimePi/@FoldList[Plus, 0, Prime[Range[50]]]//Rest
  • 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

Formula

a(n) = A000720(A007504(n)). - Michel Marcus, Jul 02 2018