login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A342423 a(n) = Sum_{k=1..n} gcd(k,n)^gcd(k,n). 10
1, 5, 29, 262, 3129, 46693, 823549, 16777484, 387420549, 10000003145, 285311670621, 8916100495490, 302875106592265, 11112006826381589, 437893890380865741, 18446744073726329368, 827240261886336764193, 39346408075296925089309 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Seiichi Manyama, Table of n, a(n) for n = 1..386

FORMULA

a(n) = Sum_{d|n} phi(n/d) * d^d.

MATHEMATICA

a[n_] := Sum[GCD[k, n]^GCD[k, n], {k, 1, n}]; Array[a, 18] (* Amiram Eldar, Mar 11 2021 *)

PROG

(PARI) a(n) = sum(k=1, n, gcd(k, n)^gcd(k, n));

(PARI) a(n) = sumdiv(n, d, eulerphi(n/d)*d^d);

CROSSREFS

Cf. A000010, A332517, A342420, A342424.

Sequence in context: A134752 A231712 A215867 * A342449 A345098 A144015

Adjacent sequences:  A342420 A342421 A342422 * A342424 A342425 A342426

KEYWORD

nonn

AUTHOR

Seiichi Manyama, Mar 11 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 16 19:46 EDT 2021. Contains 348044 sequences. (Running on oeis4.)