OFFSET
1,6
FORMULA
a(p) = 0 for p prime.
a(n) = Sum_{a*b*c=n} omega(a)*omega(b)*mu(c). - Benedict W. J. Irwin, Mar 02 2022
EXAMPLE
a(30) = Sum_{p|30} omega(30/p) = omega(15) + omega(10) + omega(6) = 2 + 2 + 2 = 6.
MATHEMATICA
Table[Sum[PrimeNu[n/k] (PrimePi[k] - PrimePi[k - 1]) (1 - Ceiling[n/k] + Floor[n/k]), {k, n}], {n, 100}]
PROG
(PARI) a(n) = my(f=factor(n)); sum(k=1, #f~, omega(n/f[k, 1])); \\ Michel Marcus, Jun 16 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 15 2021
STATUS
approved