OFFSET
1,2
LINKS
FORMULA
Multiplicative with a(p^e) = 2 * (e mod 2) * (-1)^((e+1)/2) for prime p and e>0.
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A322327(n/d) * a(d).
Dirichlet g.f.: zeta(4*s)/(zeta(s)^2*zeta(2*s)). - Amiram Eldar, Dec 29 2022
MATHEMATICA
f[p_, e_] := 2 * (-1)^((e + 1)/2) * Mod[e, 2]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Jul 19 2022 *)
PROG
(PARI) A355837(n) = factorback(apply(e -> 2*(e%2)*((-1)^((1+e)/2)), factor(n)[, 2]));
CROSSREFS
KEYWORD
sign,mult
AUTHOR
STATUS
approved