A089580 Total number of perfect powers > 1 below 10^n, counting multiple representations separately.
3, 15, 49, 143, 406, 1174, 3507, 10674, 32965, 102716, 321797, 1011533, 3186389, 10050743, 31730134, 100228040, 316713623, 1001037546, 3164497349, 10004755374, 31632975598, 100021893194, 316274794666, 1000101078148, 3162495003352, 10000467510247, 31623782520064, 100002164895587
Offset: 1
Keywords
Examples
16 = 2^4 = 4^2 counts double, 256 = 2^8 = 4^4 = 16^2 counts three times.
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..1998 (n = 1..100 from Robert G. Wilson, n = 101..400 from Karl-Heinz Hofmann)
- Karl-Heinz Hofmann, Python program.
- Bill McEachen, Plot A089580 vs A006880.
Crossrefs
Programs
-
Mathematica
Table[lim=10^n-1; Sum[Floor[lim^(1/k)]-1, {k,2,Floor[Log[2,lim]]}], {n,30}] (* T. D. Noe, Nov 16 2006 *)
-
Python
# see link.
Formula
a(n) = Sum_{k = 1..n} A060298(k). - Karl-Heinz Hofmann, Sep 18 2023
Extensions
2 more terms from Martin Renner, Oct 02 2004
More terms from T. D. Noe, Nov 16 2006
More precise name by Hugo Pfoertner, Sep 16 2023
Comments