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!)
A321349 a(n) = Sum_{d|n} phi(d^n), where phi() is the Euler totient function (A000010). 6
1, 3, 19, 137, 2501, 16071, 705895, 8421505, 258293449, 4007813013, 259374246011, 2972767821815, 279577021469773, 4762869973595499, 233543432626753439, 9223512776490647553, 778579070010669895697, 13115569455375954492093, 1874292305362402347591139 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: Sum_{k>=1} k^(k-1)*phi(k)*x^k/(1 - (k*x)^k).
a(n) = Sum_{d|n} d^(n-1)*phi(d).
a(n) = Sum_{k=1..n} (n/gcd(n,k))^(n-1).
From Richard L. Ollerton, May 08 2021: (Start)
a(n) = Sum_{k=1..n} phi(gcd(n,k)^n)/phi(n/gcd(n,k)).
a(n) = Sum_{k=1..n} gcd(n,k)^(n-1)*phi(gcd(n,k))/phi(n/gcd(n,k)). (End)
MATHEMATICA
Table[Sum[EulerPhi[d^n], {d, Divisors[n]}], {n, 19}]
nmax = 19; Rest[CoefficientList[Series[Sum[k^(k - 1) EulerPhi[k] x^k/(1 - (k x)^k), {k, 1, nmax}], {x, 0, nmax}], x]]
Table[Sum[(n/GCD[n, k])^(n - 1), {k, n}], {n, 19}]
PROG
(PARI) a(n) = sumdiv(n, d, eulerphi(d^n)); \\ Michel Marcus, Nov 06 2018
CROSSREFS
Sequence in context: A321515 A094661 A094662 * A115750 A156894 A221374
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 06 2018
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)