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 A348027 #14 Nov 27 2021 11:03:59 %S A348027 1,2,5,4,5,8,7,8,15,14,11,16,13,14,37,16,17,24,19,28,35,22,23,32,49, %T A348027 26,45,28,29,60,31,32,55,34,41,48,37,38,65,56,41,62,43,44,111,46,47, %U A348027 64,55,114,85,52,53,72,59,62,95,58,59,120,61,62,123,64,65,88,67,68,115,134,71,96,73,74,293,76,83,104,79 %N A348027 Dirichlet convolution of Euler phi with A324198. %H A348027 Antti Karttunen, <a href="/A348027/b348027.txt">Table of n, a(n) for n = 1..11550</a> %H A348027 <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a> %F A348027 a(n) = Sum_{d|n} phi(n/d) * A324198(d). %F A348027 a(n) = Sum_{k=1..n} A324198(gcd(n,k)). %t A348027 s[n_] := Module[{k = n, m = 1, p = 2}, While[k > 0, m *= (p^Min[Mod[k, p], IntegerExponent[n, p]]); k = Quotient[k, p]; p = NextPrime[p]]; m]; a[n_] := DivisorSum[n, s[#] * EulerPhi[n/#] &]; Array[a, 100] (* _Amiram Eldar_, Nov 27 2021 *) %o A348027 (PARI) %o A348027 A324198(n) = { my(m=1, p=2, orgn=n); while(n, m *= (p^min(n%p, valuation(orgn, p))); n = n\p; p = nextprime(1+p)); (m); }; %o A348027 A348027(n) = sumdiv(n,d,eulerphi(d)*A324198(n/d)); %Y A348027 Cf. A000010, A324198. %Y A348027 Cf. also A346242, A347131, A347235, A347958. %K A348027 nonn,base %O A348027 1,2 %A A348027 _Antti Karttunen_, Sep 25 2021