OFFSET
1,4
COMMENTS
This sequence reveals, among the positive integers, which are the unit, the primes, the perfect powers (with |a(n)| as largest exponent) telling whether these are perfect powers of either primes or composites and finally which are non-perfect powers composites per the following:
a(n) < -1: perfect powers of primes (largest exponent = |a(n)|)
a(n) = -1: primes (not perfect powers)
a(n) = 0: (standing for infinity): unit, perfect power of unit
a(n) = +1: composites (not perfect powers)
a(n) > +1: perfect powers of composites (largest exponent = |a(n)|).
LINKS
Daniel Forgues, Table of n, a(n) for n=1..100000
FORMULA
CROSSREFS
KEYWORD
sign
AUTHOR
Daniel Forgues, Mar 12 2009
STATUS
approved