OFFSET
1,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := DivisorSum[n, (-1)^#*(# + 1) &]; Array[a, 100] (* Amiram Eldar, Jul 18 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (-1)^d*(d+1));
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Seiichi Manyama, Jun 12 2023
STATUS
approved