OFFSET
1,8
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Multiplicative with a(p^e) = 1 if e <= 2, and 3 otherwise.
a(n) >= 1, with equality if and only if n is cubefree (A004709).
Dirichlet g.f.: zeta(s) * Product_{p prime} (1 + 2/p^(3*s)).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Product_{p prime} (1 + 2/p^3) = 1.37700168952903630206... .
In general, the asymptotic mean of the number of k-free divisors of the k-full part of n is Product_{p prime} (1 + (k-1)/p^k).
MATHEMATICA
f[p_, e_] := If[e > 2, 3, 1]; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = vecprod(apply(x -> if(x < 3, 1, 3), factor(n)[, 2]));
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Dec 19 2023
STATUS
approved