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 A365649 #13 Sep 20 2023 16:00:11 %S A365649 1,6,8,22,12,48,16,66,41,72,24,176,28,96,96,178,36,246,40,264,128,144, %T A365649 48,528,97,168,176,352,60,576,64,450,192,216,192,902,76,240,224,792, %U A365649 84,768,88,528,492,288,96,1424,177,582,288,616,108,1056,288,1056,320 %N A365649 Dirichlet convolution of sigma with Dedekind psi function. %F A365649 a(n) = Sum{d|n} A000203(d) * A001615(n/d). %F A365649 a(p) = A365647(p) + 2 = A365648(p) + 2 where p is a term of A000040. %F A365649 Multiplicative with a(p^e) = (2 + ((e+1)*p^2 - 2*p - e - 1)*p^e)/(p-1)^2. - _Amiram Eldar_, Sep 15 2023 %F A365649 From _Vaclav Kotesovec_, Sep 15 2023: (Start) %F A365649 Dirichlet g.f.: zeta(s)^2 * zeta(s-1)^2 / zeta(2*s). %F A365649 Sum_{k=1..n} a(k) ~ 5*n^2 * (log(n)/4 + gamma/2 - 1/8 + 3*zeta'(2)/Pi^2 - 45*zeta'(4)/Pi^4), where gamma is the Euler-Mascheroni constant A001620. (End) %t A365649 f[p_, e_] := (2 + ((e + 1)*p^2 - 2*p - e - 1)*p^e)/(p - 1)^2; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* _Amiram Eldar_, Sep 15 2023 *) %o A365649 (PARI) for(n=1, 100, print1(direuler(p=2, n, (1+X) / ((1-X) * (1 - p*X)^2))[n], ", ")) \\ _Vaclav Kotesovec_, Sep 15 2023 %o A365649 (Python) %o A365649 from sympy import divisors, primefactors, prod, reduced_totient, divisor_sigma %o A365649 def psi(n): %o A365649 return n*prod(p+1 for p in primefactors(n))//prod(primefactors(n)) %o A365649 def a(n): return sum(divisor_sigma(d, 1) * psi(n//d) for d in divisors(n)) %Y A365649 Cf. A000040, A000203, A001615, A365647, A365648. %K A365649 nonn,easy,mult %O A365649 1,2 %A A365649 _Torlach Rush_, Sep 14 2023