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.

A060967 Number of squared primes <= 2^n.

Original entry on oeis.org

0, 0, 1, 1, 2, 3, 4, 5, 6, 8, 11, 14, 18, 24, 31, 42, 54, 72, 97, 128, 172, 229, 309, 418, 564, 760, 1028, 1393, 1900, 2585, 3512, 4792, 6542, 8952, 12251, 16777, 23000, 31579, 43390, 59631, 82025, 112957, 155611, 214516, 295947, 408493, 564163, 779638
Offset: 0

Views

Author

Labos Elemer, May 09 2001

Keywords

Examples

			For n = 8, the squared primes not exceeding 2^8 = 256 are 4, 9, 25, 49, 121, 169, so a(8) = 6.
		

Crossrefs

Programs

  • Mathematica
    Table[ PrimePi[ Floor[ 2^(g/2)//N ] ], {g, 1, 75} ]
  • PARI
    a(n) = { primepi(sqrtint(2^n)) } \\ Harry J. Smith, Jul 15 2009

Formula

a(2*n) = A007053(n). - Amiram Eldar, Jul 10 2024
a(n) = A000720(A017910(n)). - Amiram Eldar, Mar 22 2025

Extensions

a(0) prepended by Harry J. Smith, Jul 15 2009