OFFSET
1,4
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..1001
FORMULA
a(n) = Sum_{d|n} d * A349452(n/d).
MATHEMATICA
s[1] = 1; s[n_] := s[n] = -DivisorSum[n, s[#]*2^(n/# - 1) &, # < n &]; a[n_] := DivisorSum[n, # * s[n/#] &]; Array[a, 36] (* Amiram Eldar, Nov 22 2021 *)
PROG
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Nov 22 2021
STATUS
approved