OFFSET
1,8
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, Length[e] - Max[e]]; Array[a, 100] (* Amiram Eldar, Sep 09 2024 *)
PROG
(Haskell)
a225230 n = a001221 n - a051903 n
(PARI) a(n) = if (n>1, my(f=factor(n)); #f~ - vecmax(f[, 2]), 0); \\ Michel Marcus, Jan 26 2022
CROSSREFS
KEYWORD
sign
AUTHOR
Reinhard Zumkeller, May 03 2013
STATUS
approved