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!)
A304339 Fixed point of f starting with n, where f(x) = x/(largest perfect power divisor of x). 2
1, 2, 3, 1, 5, 6, 7, 1, 1, 10, 11, 3, 13, 14, 15, 1, 17, 2, 19, 5, 21, 22, 23, 3, 1, 26, 1, 7, 29, 30, 31, 1, 33, 34, 35, 1, 37, 38, 39, 5, 41, 42, 43, 11, 5, 46, 47, 3, 1, 2, 51, 13, 53, 2, 55, 7, 57, 58, 59, 15, 61, 62, 7, 1, 65, 66, 67, 17, 69, 70, 71, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
All terms are squarefree numbers. First differs from A304328 at a(500) = 1, A304328(500) = 4.
LINKS
EXAMPLE
f maps 500 -> 4 -> 1 -> 1, so a(500) = 1.
MATHEMATICA
radQ[n_]:=And[n>1, GCD@@FactorInteger[n][[All, 2]]===1];
op[n_]:=n/Last[Select[Divisors[n], !radQ[#]&]];
Table[FixedPoint[op, n], {n, 200}]
PROG
(PARI) a(n)={while(1, my(m=1); fordiv(n, d, if(ispower(d), m=max(m, d))); if(m==1, return(n)); n/=m)} \\ Andrew Howroyd, Aug 26 2018
CROSSREFS
Sequence in context: A362248 A055231 A304328 * A160400 A325978 A326049
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 11 2018
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 23 15:04 EDT 2024. Contains 371914 sequences. (Running on oeis4.)