|
|
A359378
|
|
Dirichlet inverse of A359377, where A359377(n) = 1 if 3*n is squarefree, otherwise 0.
|
|
9
|
|
|
1, -1, 0, 1, -1, 0, -1, -1, 0, 1, -1, 0, -1, 1, 0, 1, -1, 0, -1, -1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1, -1, 0, 1, 1, 0, -1, 1, 0, 1, -1, 0, -1, -1, 0, 1, -1, 0, 1, -1, 0, -1, -1, 0, 1, 1, 0, 1, -1, 0, -1, 1, 0, 1, 1, 0, -1, -1, 0, -1, -1, 0, -1, 1, 0, -1, 1, 0, -1, -1, 0, 1, -1, 0, 1, 1, 0, 1, -1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0, -1, 1, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
Note the correspondences between four sequences:
^ ^
| |
inv inv
| |
v v
Here inv means that the sequences are Dirichlet Inverses of each other, and abs means taking absolute values.
|
|
LINKS
|
|
|
FORMULA
|
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A359377(n/d) * a(d).
Multiplicative with a(3^e) = 0 and a(p^k) = (-1)^k for all primes p <> 3.
Dirichlet g.f.: 3^s/((3^s-1)*zeta(s)). - Amiram Eldar, Jan 03 2023
|
|
MATHEMATICA
|
f[p_, e_] := (-1)^e; f[3, e_] := 0; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Dec 30 2022 *)
|
|
PROG
|
(PARI) A359378(n) = { my(f = factor(n)); prod(k=1, #f~, (3!=f[k, 1])*((-1)^f[k, 2])); };
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|