login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A289641
a(n) = bigomega(n) - mu(n).
1
-1, 2, 2, 2, 2, 1, 2, 3, 2, 1, 2, 3, 2, 1, 1, 4, 2, 3, 2, 3, 1, 1, 2, 4, 2, 1, 3, 3, 2, 4, 2, 5, 1, 1, 1, 4, 2, 1, 1, 4, 2, 4, 2, 3, 3, 1, 2, 5, 2, 3, 1, 3, 2, 4, 1, 4, 1, 1, 2, 4, 2, 1, 3, 6, 1, 4, 2, 3, 1, 4, 2, 5, 2, 1, 3, 3, 1, 4, 2, 5, 4, 1, 2
OFFSET
1,2
LINKS
FORMULA
a(n) = A001222(n) - A008683(n).
MATHEMATICA
Table[PrimeOmega[k] - MoebiusMu[k], {k, 1, 100}]]
PROG
(Magma) [n eq 1 select -1 else &+[p[2]: p in Factorization(n)]- MoebiusMu(n): n in [1..120]];
(PARI) a(n)=my(f=factor(n)); bigomega(f)-moebius(f) \\ Charles R Greathouse IV, Jul 09 2017
CROSSREFS
KEYWORD
sign
AUTHOR
Vincenzo Librandi, Jul 09 2017
STATUS
approved