login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089579 Total number of perfect powers > 1 below 10^n. 7
3, 11, 39, 123, 365, 1109, 3393, 10489, 32668, 102229, 320988, 1010194, 3184136, 10046919, 31723590, 100216743, 316694003, 1001003330, 3164437423, 10004650116, 31632790242, 100021566155, 316274216760, 1000100055682, 3162493192563, 10000464300849, 31623776828239, 100002154796112 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
k is a perfect power <=> there exist integers a and b, b > 1, and k = a^b.
From Robert G. Wilson v, Jul 17 2016: (Start)
Limit_{n->oo} a(n)/sqrt(10^n) = 1.
A089580(n) - a(n) = A275358(n).
The four terms which make up the difference between A089580(2) - a(2) are: 16 = 2^4 = 4^2, 64 = 2^6 = 4^3 = 8^2 and 81 = 3^4 = 9^2; one for 16, two for 64 and one for 81 making a total of 4. See A117453.
(End)
LINKS
FORMULA
a(n) = A070428(n) - 2 for n >= 2.
EXAMPLE
For n=2, the 11 perfect powers > 1 below 10^2 = 100 are: 4, 8, 9, 16, 25, 27, 32, 36, 49, 64, 81. - Michael B. Porter, Jul 18 2016
MATHEMATICA
Table[lim=10^n-1; Sum[ -(Floor[lim^(1/k)]-1)*MoebiusMu[k], {k, 2, Floor[Log[2, lim]]}], {n, 30}] (* T. D. Noe, Nov 16 2006 *)
PROG
(SageMath)
def A089579(n):
gen = (p for p in srange(2, 10^n) if p.is_perfect_power())
return sum(1 for _ in gen)
print([A089579(n) for n in range(1, 7)]) # Peter Luschny, Sep 15 2023
CROSSREFS
Sequence in context: A192528 A112674 A064086 * A227638 A166336 A002783
KEYWORD
nonn
AUTHOR
Martin Renner, Dec 29 2003
EXTENSIONS
a(9)-a(10) from Martin Renner, Oct 02 2004
More terms from T. D. Noe, Nov 16 2006
More precise name by Hugo Pfoertner, Sep 15 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)