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.

A055729 Number of primes <= 3^n.

Original entry on oeis.org

0, 2, 4, 9, 22, 53, 129, 327, 847, 2227, 5968, 16097, 43934, 120739, 334349, 931260, 2607165, 7332159, 20700806, 58648288, 166677978, 475023803, 1357200840, 3886548158, 11152818693, 32064929886, 92349038518, 266398236486, 769616513836, 2226457080707, 6449247674296, 18703411700669, 54301968156067, 157820174545456
Offset: 0

Views

Author

Robert G. Wilson v, Jun 09 2000

Keywords

Crossrefs

Cf. A006880 and A007053.

Programs

  • Mathematica
    Table[PrimePi[3^n], {n, 0, 29}]
  • PARI
    a(n) = primepi(3^n); \\ Michel Marcus, Aug 25 2014

Formula

a(n) = A000720(A000244(n)). - Michel Marcus, Aug 25 2014

Extensions

a(28)-a(40) from Henri Lifchitz, Nov 11 2012