OFFSET
1,9
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Sourabhashis Das, Wentang Kuo, and Yu-Ru Liu, Distribution of omega(n) over h-free and h-full numbers, arXiv:2409.10430 [math.NT], 2024. See Theorem 1.2.
FORMULA
Sum_{A001694(k) <= x} a(k) = c * sqrt(x) * (log(log(x)) + B - log(2) + L(2, 3) - L(2, 4)) + O(sqrt(x)/log(x)), where c = zeta(3/2)/zeta(3) (A090699), B is Mertens's constant (A077761), L(h, r) = Sum_{p prime} 1/(p^(r/h - 1) * (p - p^(1 - 1/h) + 1)), L(2, 3) = 1.07848461669337535407..., and L(2, 4) = 0.57937575954505652569... (Das et al., 2024).
MATHEMATICA
f[k_] := Module[{e = If[k == 1, {}, FactorInteger[k][[;; , 2]]]}, If[AllTrue[e, # > 1 &], Length[e], Nothing]]; Array[f, 3500]
PROG
(PARI) lista(kmax) = {my(e, is); for(k = 1, kmax, e = factor(k)[, 2]; is = 1; for(i = 1, #e, if(e[i] == 1, is = 0; break)); if(is, print1(#e, ", "))); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Sep 21 2024
STATUS
approved