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”).

A036380
Number of true prime powers whose binary order, ceiling(log_2(p^x)), is n.
2
0, 1, 1, 2, 3, 2, 4, 3, 4, 6, 5, 9, 10, 11, 17, 15, 26, 31, 39, 53, 68, 90, 125, 159, 216, 290, 391, 536, 719, 971, 1329, 1812, 2477, 3386, 4626, 6351, 8729, 11995, 16459, 22669, 31259, 43049, 59388, 82024, 113275, 156558, 216560, 299566, 414821, 574654
OFFSET
1,4
EXAMPLE
The 5 prime powers between 1025 and 2048 (inclusive) are 1331 = 11^3, 1369 = 37^2, 1681 = 41^2, 1849 = 43^2, and 2048 = 2^11.
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