OFFSET
1,7
COMMENTS
Multiplicative because A336466 is.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
MATHEMATICA
f[p_, e_] := ((p-1)/2^IntegerExponent[p-1, 2])^e; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; a[1] = 1; a[n_] := a[n] = -DivisorSum[n, a[#] * s[n/#] &, # < n &]; Array[a, 100] (* Amiram Eldar, Dec 08 2021 *)
PROG
CROSSREFS
KEYWORD
sign,mult
AUTHOR
Antti Karttunen, Dec 08 2021
STATUS
approved