OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
G.f.: Sum_{k>=1} k^2*(k - 1)*x^k/(1 - x^k). - Ilya Gutkovskiy, Mar 17 2017
From Amiram Eldar, Jan 01 2025: (Start)
Dirichlet g.f.: zeta(s) * (zeta(s-3) - zeta(s-2)).
Sum_{k=1..n} a(k) ~ (zeta(4)/4) * n^4. (End)
MATHEMATICA
a[n_] := Subtract @@ DivisorSigma[{3, 2}, n]; Array[a, 50] (* Amiram Eldar, Jan 01 2025 *)
PROG
(PARI) a(n) = my(f = factor(n)); sigma(f, 3) - sigma(f, 2); \\ Amiram Eldar, Jan 01 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 20 2004
STATUS
approved