OFFSET
1,6
COMMENTS
LINKS
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A010055(n/d) * a(d).
MATHEMATICA
s[n_] := If[PrimeNu[n] < 2, 1, 0]; a[1] = 1; a[n_] := a[n] = -DivisorSum[n, s[n/#]*a[#] &, # < n &]; Array[a, 100] (* Amiram Eldar, Jul 19 2022 *)
PROG
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 19 2022
STATUS
approved