|
|
A304653
|
|
a(n) = (-1)^Omega(n) if n is not a perfect power > 1, and 0 otherwise.
|
|
3
|
|
|
1, -1, -1, 0, -1, 1, -1, 0, 0, 1, -1, -1, -1, 1, 1, 0, -1, -1, -1, -1, 1, 1, -1, 1, 0, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 0, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, -1, 0, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, -1, 0, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
Omega(n) = A001222(n) is the number of prime factors of n counted with multiplicity.
|
|
LINKS
|
|
|
EXAMPLE
|
Agrees with Moebius function A008683 except for numbers like 12, 18, .... Moebius(12) = 0, a(12) = (-1)^3 = -1. - N. J. A. Sloane, May 26 2018
|
|
MATHEMATICA
|
Table[If[GCD @@ FactorInteger[n][[All, 2]] == 1, (-1)^PrimeOmega[n], 0], {n, 100}]
|
|
CROSSREFS
|
Cf. A000005, A000961, A001221, A001222, A001597, A005117, A007916, A008683, A091050, A126706, A303554, A304326, A304362, A304779, A304817, A304819.
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|