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!)
A344461 a(n) = Sum_{d|n} d^gcd(d,n/d). 0
1, 3, 4, 9, 6, 12, 8, 29, 37, 18, 12, 60, 14, 24, 24, 341, 18, 273, 20, 134, 32, 36, 24, 236, 3151, 42, 784, 240, 30, 72, 32, 4645, 48, 54, 48, 48789, 38, 60, 56, 574, 42, 96, 44, 548, 3462, 72, 48, 21740, 823593, 103203, 72, 750, 54, 6888, 72, 1072, 80, 90, 60, 1160 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
If p is prime, a(p) = Sum_{d|p} d^gcd(d,p/d) = 1^1 + p^1 = p + 1.
LINKS
EXAMPLE
a(8) = Sum_{d|8} d^gcd(d,8/d) = 1^1 + 2^2 + 4^2 + 8^1 = 29.
MATHEMATICA
Table[Sum[k^GCD[k, n/k] (1 - Ceiling[n/k] + Floor[n/k]), {k, n}], {n, 80}]
CROSSREFS
Sequence in context: A168512 A337180 A003959 * A168341 A083111 A354112
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 19 2021
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 30 04:55 EDT 2024. Contains 372118 sequences. (Running on oeis4.)