login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A133498
a(n) = floor(sqrt(pi(2^n))).
1
0, 1, 1, 2, 2, 3, 4, 5, 7, 9, 13, 17, 23, 32, 43, 59, 80, 110, 151, 208, 286, 394, 544, 751, 1038, 1436, 1989, 2757, 3825, 5309, 7375, 10251, 14257, 19839, 27621, 38473, 53613, 74742, 104241, 145436, 202985, 283401, 395804, 552957, 772733, 1080160, 1510297
OFFSET
0,4
LINKS
FORMULA
a(n) = floor(sqrt(A007053(n))).
EXAMPLE
a(4)=2 because pi(2^4)=6 and the greatest integer less than or equal to sqrt(6) is 2.
MATHEMATICA
Table[ Floor[Sqrt[PrimePi[2^n]]], {n, 0, 25}] (* G. C. Greubel, Jan 13 2017 *)
PROG
(PARI) a(n) = sqrtint(primepi(2^n)); \\ Michel Marcus, Sep 05 2013
CROSSREFS
Sequence in context: A032277 A205579 A089047 * A282949 A292200 A249576
KEYWORD
nonn
AUTHOR
STATUS
approved