OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Dirichlet g.f.: zeta(s) * (zeta(s-3) - zeta(s-2) - zeta(s-1)). - Amiram Eldar, Jan 03 2025
MATHEMATICA
Table[DivisorSigma[3, n] - DivisorSigma[2, n] - DivisorSigma[1, n], {n, 60}] (* Wesley Ivan Hurt, Nov 16 2021 *)
PROG
(PARI) a(n) = my(f = factor(n)); sigma(f, 3) - sigma(f, 2) - sigma(f, 1); \\ Amiram Eldar, Jan 03 2025
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Mar 20 2004
STATUS
approved