login
A065313
a(n) = Pi(n*Pi(n)).
2
0, 1, 3, 4, 6, 7, 9, 11, 11, 12, 16, 17, 21, 23, 24, 24, 30, 30, 36, 37, 39, 40, 46, 47, 48, 51, 53, 54, 61, 62, 68, 70, 72, 74, 76, 77, 86, 87, 91, 92, 99, 100, 110, 112, 114, 117, 126, 128, 130, 132, 135, 137, 146, 150, 151, 154, 156, 157, 168, 171, 184, 186, 189
OFFSET
1,3
LINKS
FORMULA
a(n) = A000720(n*A000720(n)).
MATHEMATICA
Table[PrimePi[w*PrimePi[w]], {w, 1, 100}].
PROG
(PARI) { for (n=1, 1000, if (n>1, a=primepi(n*primepi(n)), a=0); write("b065313.txt", n, " ", a) ) } \\ Harry J. Smith, Oct 16 2009
CROSSREFS
Sequence in context: A126332 A039026 A123540 * A103566 A258592 A018825
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 29 2001
STATUS
approved