OFFSET
1,4
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..150
FORMULA
EXAMPLE
There are 5 prime powers between 2^10 + 1 = 1025 and 2^11 = 2048 (inclusive): 1331 = 11^3, 1369 = 37^2, 1681 = 41^2, 1849 = 43^2, and 2048 = 2^11, so a(11) = 5.
MATHEMATICA
t=Table[Length[Union[Flatten[Table[Table[Prime[w]^s, {w, 1, PrimePi[2^(n/s)]}], {s, 2, g+1}]]] ], {n, 1, 42}]; Delete[t-RotateRight[t], 1]
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Sean A. Irvine, Oct 29 2020
STATUS
approved
