The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A362414 a(n) = gcd(n, phi(n)^2) / gcd(n, phi(n)). 1
1, 1, 1, 2, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 5, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 7, 5, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 5, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 7, 3, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
a(n) = 1 if n is squarefree.
LINKS
FORMULA
a(n) = gcd(n,A127473(n)) / A009195(n).
1 <= a(n) <= sqrt(n). The lower bound is sharp (squarefree numbers), as is the upper bound (squares of primes). - Charles R Greathouse IV, May 03 2023
MATHEMATICA
A362414[n_]:=With[{p=EulerPhi[n]}, GCD[n, p^2]/GCD[n, p]];
Array[A362414, 100] (* Paolo Xausa, Oct 22 2023 *)
PROG
(Magma) [Gcd(n, EulerPhi(n)^2) / Gcd(n, EulerPhi(n)): n in [1..100]];
(PARI) a(n)=my(f=eulerphi(n)); gcd(n, f^2)/gcd(n, f) \\ Charles R Greathouse IV, May 03 2023
CROSSREFS
Sequence in context: A243005 A058393 A131256 * A245562 A304495 A175069
KEYWORD
nonn,easy
AUTHOR
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 May 16 10:52 EDT 2024. Contains 372552 sequences. (Running on oeis4.)