OFFSET
1,8
COMMENTS
Multiplicative because A359832 is.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A359832(n/d) * a(d).
Multiplicative with a(2^e) = (-1)^e*Fibonacci(e), and for p > 2, a(p^e) = -1 if e = 1 and 0 otherwise. - Amiram Eldar, Jan 24 2023
MATHEMATICA
f[p_, e_] := If[e == 1, -1, 0]; f[2, e_] := (-1)^e*Fibonacci[e]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Jan 24 2023 *)
PROG
(PARI) A359833(n) = { my(f=factor(n)); prod(k=1, #f~, if(2==f[k, 1], ((-1)^f[k, 2])*fibonacci(f[k, 2]), -(1==f[k, 2]))); }; \\ Antti Karttunen, Jan 25 2023
CROSSREFS
KEYWORD
sign,mult
AUTHOR
Antti Karttunen, Jan 24 2023
STATUS
approved