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!)
A009205 a(n) = gcd(d(n), sigma(n)). 16
1, 1, 2, 1, 2, 4, 2, 1, 1, 2, 2, 2, 2, 4, 4, 1, 2, 3, 2, 6, 4, 4, 2, 4, 1, 2, 4, 2, 2, 8, 2, 3, 4, 2, 4, 1, 2, 4, 4, 2, 2, 8, 2, 6, 6, 4, 2, 2, 3, 3, 4, 2, 2, 8, 4, 8, 4, 2, 2, 12, 2, 4, 2, 1, 4, 8, 2, 6, 4, 8, 2, 3, 2, 2, 2, 2, 4, 8, 2, 2, 1, 2, 2, 4, 4, 4, 4, 4, 2, 6, 4, 6, 4, 4, 4, 12, 2, 3, 6, 1, 2, 8, 2, 2, 8, 2, 2, 4, 2, 8, 4, 2, 2, 8, 4, 6, 2, 4, 4, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Table[GCD[DivisorSigma[0, n], DivisorSigma[1, n]], {n, 120}] (* Harvey P. Dale, Dec 05 2017 *)
PROG
(PARI) A009205(n) = gcd(numdiv(n), sigma(n)); \\ Antti Karttunen, May 22 2017
(Python)
from math import prod, gcd
from sympy import factorint
def A009205(n):
f = factorint(n).items()
return gcd(prod(e+1 for p, e in f), prod((p**(e+1)-1)//(p-1) for p, e in f)) # Chai Wah Wu, Jul 27 2023
CROSSREFS
Sequence in context: A121439 A307448 A305350 * A086754 A120880 A059151
KEYWORD
nonn
AUTHOR
EXTENSIONS
Data section extended to 120 terms by Antti Karttunen, May 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 April 27 16:49 EDT 2024. Contains 372020 sequences. (Running on oeis4.)