OFFSET
1,216
LINKS
FORMULA
Additive with a(p^e) = 1 if e>2, 0 otherwise.
a(n) = 0 iff A212793(n) = 1.
Asymptotic mean: lim_{n->oo} (1/n) * Sum_{k=1..n} a(k) = Sum_{p prime} 1/p^3 = 0.174762... (A085541). - Amiram Eldar, Nov 01 2020
EXAMPLE
For n = 120 = 2^3 * 3^1 * 5^1 there is only one exponent larger than 2, thus a(120) = 1.
For n = 216 = 2^3 * 3^3 there are two exponents larger than 2, thus a(216) = 2.
MATHEMATICA
Array[Count[FactorInteger[#][[All, -1]], _?(# > 2 &)] &, 105] (* Michael De Vlieger, Nov 28 2017 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 28 2017
STATUS
approved