OFFSET
1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Masato Kobayashi, Möbius functions of higher rank and Dirichlet series, arXiv:2108.01822 [math.NT], 2021.
FORMULA
MATHEMATICA
f[p_, e_] := If[e < 3, (-1)^e, 0]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) f(e) = if(e < 3, (-1)^e, 0);
a(n) = vecprod(apply(f, factor(n)[, 2]));
CROSSREFS
KEYWORD
sign,mult,easy
AUTHOR
Amiram Eldar, Jun 10 2023
STATUS
approved