This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A342543 #17 Mar 15 2021 10:59:18 %S A342543 1,2,10,19,1028,76,279942,65558,10077718,1049608,100000000010, %T A342543 16777334,106993205379084,78364444044,35184372090920,281474976776236, %U A342543 295147905179352825872,101559966746268,708235345355337676357650,1152921504607897676,46005119909369702026044,10000000000100000000020 %N A342543 a(n) = Sum_{k=1..n} phi(gcd(k, n))^gcd(k, n). %H A342543 Seiichi Manyama, <a href="/A342543/b342543.txt">Table of n, a(n) for n = 1..388</a> %F A342543 a(n) = Sum_{d|n} phi(n/d) * phi(d)^d. %F A342543 If p is prime, a(p) = p-1 + (p-1)^p. %t A342543 a[n_] := DivisorSum[n, EulerPhi[n/#] * EulerPhi[#]^# &]; Array[a, 20] (* _Amiram Eldar_, Mar 15 2021 *) %o A342543 (PARI) a(n) = sum(k=1, n, eulerphi(gcd(k, n))^gcd(k, n)); %o A342543 (PARI) a(n) = sumdiv(n, d, eulerphi(n/d)*eulerphi(d)^d); %Y A342543 Cf. A000010, A029935, A342423, A342488, A342539, A342541, A342544. %K A342543 nonn %O A342543 1,2 %A A342543 _Seiichi Manyama_, Mar 15 2021