A092152 Sign of A092673(n).
1, -1, -1, 1, -1, 1, -1, 0, 0, 1, -1, -1, -1, 1, 1, 0, -1, 0, -1, -1, 1, 1, -1, 0, 0, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 0, -1, 1, 1, 0, -1, -1, -1, -1, 0, 1, -1, 0, 0, 0, 1, -1, -1, 0, 1, 0, 1, 1, -1, 1, -1, 1, 0, 0, 1, -1, -1, -1, 1, -1, -1, 0, -1, 1, 0, -1, 1, -1, -1, 0, 0, 1, -1, 1, 1, 1, 1, 0, -1, 0, 1, -1, 1, 1, 1, 0, -1, 0, 0, 0, -1, -1, -1, 0, -1, 1
Offset: 1
Links
- Antti Karttunen, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A092673.
Programs
-
PARI
a(n)=sign(moebius(n) - if(n%2, 0, moebius(n/2))) \\ Andrew Howroyd, Jul 27 2018
Formula
a(2*n) = sign(mu(2*n) - mu(n)); a(2*n + 1) = mu(2*n + 1). - Andrew Howroyd, Jul 27 2018
Comments