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 A062952 #24 Jul 26 2025 19:14:01 %S A062952 1,4,9,18,25,36,49,78,87,100,121,162,169,196,225,326,289,348,361,450, %T A062952 441,484,529,702,645,676,807,882,841,900,961,1334,1089,1156,1225,1566, %U A062952 1369,1444,1521,1950,1681,1764,1849,2178,2175,2116,2209,2934,2443,2580 %N A062952 Multiplicative with a(p^e) = (p^(2*e+2)-p^(e+1)-p^e+p)/(p^2-1). %C A062952 If k is squarefree (cf. A005117) then A062952(k) = k^2. - _Benoit Cloitre_, Apr 16 2002 %C A062952 Inverse Möbius transform of A062354(n). - _Wesley Ivan Hurt_, Jul 26 2025 %H A062952 Amiram Eldar, <a href="/A062952/b062952.txt">Table of n, a(n) for n = 1..10000</a> %F A062952 a(n) = Sum_{d|n} phi(d)*sigma(d). %F A062952 a(n) = Sum_{k=1..n} sigma(n/gcd(n, k)). %F A062952 Sum_{k=1..n} a(k) ~ c * n^3, where c = (zeta(2)*zeta(3)/3) * Product_{p prime} (1 - 1/p^2 - 1/p^3 + 1/p^4) = A183699 * A330523 / 3. - _Amiram Eldar_, Oct 30 2022 %t A062952 f[p_, e_] := (p^(2*e+2)-p^(e+1)-p^e+p)/(p^2-1); a[1] = 1; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 50] (* _Amiram Eldar_, Jul 31 2019 *) %o A062952 (PARI) a(n) = sumdiv(n, d, eulerphi(d)*sigma(d)) \\ _Michel Marcus_, Jun 17 2013 %Y A062952 Cf. A005117, A029939, A057660, A062952. %Y A062952 Cf. A002117, A013661, A183699, A330523. %Y A062952 Cf. A062354. %K A062952 nonn,mult %O A062952 1,2 %A A062952 _Vladeta Jovovic_, Jul 21 2001