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!)
A334490 a(n) = Sum_{d|n} gcd(d, sigma(d)). 4
1, 2, 2, 3, 2, 9, 2, 4, 3, 5, 2, 14, 2, 5, 6, 5, 2, 13, 2, 8, 4, 5, 2, 27, 3, 5, 4, 34, 2, 21, 2, 6, 6, 5, 4, 19, 2, 5, 4, 19, 2, 19, 2, 10, 10, 5, 2, 32, 3, 7, 6, 8, 2, 20, 4, 43, 4, 5, 2, 40, 2, 5, 6, 7, 4, 21, 2, 8, 6, 11, 2, 35, 2, 5, 8, 10, 4, 19, 2, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(p) = 2 for p = primes (A000040).
a(n) = Sum_{d|n} A009194(d). - Antti Karttunen, May 09 2020
EXAMPLE
a(6) = gcd(1, sigma(1)) + gcd(2, sigma(2)) + gcd(3, sigma(3)) + gcd(6, sigma(6)) = gcd(1, 1) + gcd(2, 3) + gcd(3, 4) + gcd(6, 12) = 1 + 1 + 1 + 6 = 9.
MATHEMATICA
a[n_] := DivisorSum[n, GCD[#, DivisorSigma[1, #]] &]; Array[a, 80] (* Amiram Eldar, May 03 2020 *)
PROG
(Magma) [&+[GCD(d, &+Divisors(d)): d in Divisors(n)]: n in [1..100]]
(PARI) a(n) = sumdiv(n, d, gcd(d, sigma(d))); \\ Michel Marcus, May 03 2020
CROSSREFS
Cf. A322979 (Sum_{d|n} gcd(d, tau(d))), A000203 (Sum_{d|n} gcd(d, pod(d)) = sigma(n)).
Cf. A000040, A007955 (pod(n)), A334491 (for product instead of sum).
Inverse Möbius transform of A009194.
Sequence in context: A280583 A177047 A339665 * A016001 A016012 A069138
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, May 03 2020
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)