OFFSET
1,1
COMMENTS
Equivalently, the number of powerful numbers that do not exceed the n-th Achilles number.
The asymptotic density of this sequence is 1 - zeta(3)/zeta(3/2) = 1 - 1/A090699 = 0.539860570279... .
LINKS
FORMULA
EXAMPLE
The first 12 powerful numbers are 1, 4, 8, 9, 16, 25, 27, 32, 36, 49, 64, and 72. 72 is the first Achilles number. Therefore, a(1) = 12.
MATHEMATICA
achillesQ[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, AllTrue[e, # > 1 &] && GCD @@ e == 1];
seq[lim_] := Position[Union[Table[i^2*j^3, {j, 1, Surd[lim, 3]}, {i, 1, Sqrt[lim/j^3]}] // Flatten], _Integer?achillesQ] // Flatten;
seq[10^4]
PROG
(PARI) isAchilles(n) = if(n == 1, 0, my(e = factor(n)[, 2]); vecmin(e) > 1 && gcd(e) == 1);
list(lim) = {my(v = List()); for(j = 1, sqrtnint(lim\1, 3), for(i = 1, sqrtint(lim\j^3), listput(v, i^2*j^3))); Vec(select(x -> isAchilles(x), Set(v), 1)); }
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Amiram Eldar, Sep 01 2026
STATUS
approved