The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158210 a(n) = omega(n) * (-1)^mu(n), where mu is the Moebius function. 2
0, -1, -1, 1, -1, -2, -1, 1, 1, -2, -1, 2, -1, -2, -2, 1, -1, 2, -1, 2, -2, -2, -1, 2, 1, -2, 1, 2, -1, -3, -1, 1, -2, -2, -2, 2, -1, -2, -2, 2, -1, -3, -1, 2, 2, -2, -1, 2, 1, 2, -2, 2, -1, 2, -2, 2, -2, -2, -1, 3, -1, -2, 2, 1, -2, -3, -1, 2, -2, -3, -1, 2, -1, -2, 2, 2, -2, -3, -1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Number n such that: a(n) < -1: A120944; a(n) = -1: A000040, a(n) > -1: A162966; a(n) = +1: A246547; a(n) > +1: A126706.
LINKS
FORMULA
a(n) = omega(n) * (-1)^mu(n), where mu is the Moebius function.
a(n) = A001221(n) * (-1)^A008683(n).
a(mn) = [|a(m)| + |a(n)|] * max(sign[a(n)], sign[a(m)]), gcd(m,n) = 1, m > 1, n > 1.
MATHEMATICA
Table[(-1)^MoebiusMu[n]*PrimeNu[n], {n, 81}] (* L. Edson Jeffery, Dec 08 2014 *)
CROSSREFS
Cf. A001221 (omega), A008683 (mu).
Sequence in context: A237353 A293460 A231813 * A322307 A087802 A079553
KEYWORD
sign
AUTHOR
Daniel Forgues, Mar 14 2009
EXTENSIONS
Edited by Joerg Arndt, Feb 12 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 14:06 EDT 2024. Contains 372533 sequences. (Running on oeis4.)