login
A249901
a(n) = mu(n) + bigomega(n).
4
1, 0, 0, 2, 0, 3, 0, 3, 2, 3, 0, 3, 0, 3, 3, 4, 0, 3, 0, 3, 3, 3, 0, 4, 2, 3, 3, 3, 0, 2, 0, 5, 3, 3, 3, 4, 0, 3, 3, 4, 0, 2, 0, 3, 3, 3, 0, 5, 2, 3, 3, 3, 0, 4, 3, 4, 3, 3, 0, 4, 0, 3, 3, 6, 3, 2, 0, 3, 3, 2, 0, 5, 0, 3, 3, 3, 3, 2
OFFSET
1,4
COMMENTS
The 0 terms identify for the prime numbers.
FORMULA
a(n) = A008683(n) + A001222(n).
MAPLE
with(numtheory): a := n -> mobius(n) + bigomega(n):
seq(a(n), n = 1..78); # Peter Luschny, Jul 08 2017
MATHEMATICA
Table[MoebiusMu[k] + PrimeOmega[k], {k, 200}]
PROG
(PARI) A249901(n) = (moebius(n) + bigomega(n)); \\ Antti Karttunen, Jul 08 2017
(Magma) [n eq 1 select 1 else &+[p[2]: p in Factorization(n)]+ MoebiusMu(n): n in [1..120]]; // Vincenzo Librandi, Jul 09 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Ke Xiao, Jan 13 2015
STATUS
approved