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!)
A009223 a(n) = gcd(sigma(n), phi(n)). 25
1, 1, 2, 1, 2, 2, 2, 1, 1, 2, 2, 4, 2, 6, 8, 1, 2, 3, 2, 2, 4, 2, 2, 4, 1, 6, 2, 4, 2, 8, 2, 1, 4, 2, 24, 1, 2, 6, 8, 2, 2, 12, 2, 4, 6, 2, 2, 4, 3, 1, 8, 2, 2, 6, 8, 24, 4, 2, 2, 8, 2, 6, 4, 1, 12, 4, 2, 2, 4, 24, 2, 3, 2, 6, 4, 4, 12, 24, 2, 2, 1, 2, 2, 8, 4, 6, 8, 20, 2, 6, 8, 4, 4, 2, 24, 4, 2, 3, 12, 1, 2, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The asymptotic density of numbers k such that a(k) <= m for a given m is 0 (Dressler, 1974). - Amiram Eldar, Mar 02 2021
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Robert E. Dressler, On a theorem of Niven, Canadian Mathematical Bulletin, Vol. 17, No. 1 (1974), pp. 109-110.
FORMULA
a(n) = gcd(A000203(n), A000010(n)).
MATHEMATICA
Table[GCD[DivisorSigma[1, n], EulerPhi[n]], {n, 110}] (* Harvey P. Dale, Aug 10 2011 *)
PROG
(PARI) a(n)=gcd(sigma(n=factor(n)), eulerphi(n)) \\ Charles R Greathouse IV, Nov 27 2013
(Haskell)
a009223 n = gcd (a000203 n) (a000010 n)
-- Reinhard Zumkeller, Jan 19 2014
CROSSREFS
Cf. A000010 (phi), A000203 (sigma).
Sequence in context: A082064 A082055 A073812 * A110244 A309020 A278495
KEYWORD
nonn
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 June 5 04:27 EDT 2024. Contains 373102 sequences. (Running on oeis4.)