OFFSET
1,3
COMMENTS
Prime factors are counted with multiplicity. [Harvey P. Dale, Sep 20 2011]
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..5000
MATHEMATICA
Table[n-PrimeOmega[n], {n, 70}] (* Harvey P. Dale, Sep 20 2011 *)
PROG
(PARI) a(n) = n - bigomega(n); \\ Michel Marcus, Apr 08 2018
(Magma) [n eq 1 select 1 else n-(&+[p[2]: p in Factorization(n)]): n in [1..100]]; // Vincenzo Librandi, Apr 09 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 18 2002
STATUS
approved