OFFSET
1,5
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..57 (calculated using the b-files at A060967, A007053 and A125527)
EXAMPLE
a(5) = 2. The odd squarefree semiprimes less than 2^5 are 15 and 21. The formula gives 10 - pi(5) - pi(2^4) + 1 = 2.
MATHEMATICA
Table[lim=2^n; Sum[PrimePi[lim/p]-PrimePi[p], {p, Prime[Range[2, PrimePi[Sqrt[lim]]]]}], {n, 20}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Washington Bomfim, Oct 27 2008
EXTENSIONS
a(34) onwards from Amiram Eldar, Sep 05 2024
STATUS
approved