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!)
A289023 Position in the sequence of numbers that are not perfect powers (A007916) of the smallest positive integer x such that for some positive integer y we have n = x^y (A052410). 12
1, 2, 1, 3, 4, 5, 1, 2, 6, 7, 8, 9, 10, 11, 1, 12, 13, 14, 15, 16, 17, 18, 19, 3, 20, 2, 21, 22, 23, 24, 1, 25, 26, 27, 4, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 5, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 1, 54, 55, 56, 57, 58, 59, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
COMMENTS
Every pair p of positive integers is of the form p = (a(n), A052409(n)) for exactly one n.
LINKS
FORMULA
For n>1 we have a(n) = A278028(n,1).
EXAMPLE
a(27)=2 because the smallest root of 27 is 3, and 3 is the 2nd entry of A007916.
a(25)=3 because the smallest root of 25 is 5, and 5 is the 3rd entry of A007916.
MATHEMATICA
nn=100;
q=Table[Power[n, 1/GCD@@FactorInteger[n][[All, 2]]], {n, 2, nn}];
q/.Table[Union[q][[i]]->i, {i, Length[Union[q]]}]
PROG
(PARI) a(n) = if (ispower(n, , &r), x = r, x = n); sum(k=2, x, ispower(k)==0); \\ Michel Marcus, Jul 19 2017
CROSSREFS
Sequence in context: A349385 A357310 A285329 * A085985 A331747 A285107
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 22 2017
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 March 28 10:31 EDT 2024. Contains 371240 sequences. (Running on oeis4.)