OFFSET
1,2
COMMENTS
LINKS
FORMULA
Sum_{n>=1} 1/a(n) = 1 + Sum_{k>=1} (-1)^(k+1) * s(k) = 1.70559662202357112914..., where s(k) = Product_{p prime} (1 + 1/(p^k*(p-1))).
MATHEMATICA
seq[lim_] := Select[Union@ Flatten@ Table[i^2 * j^3, {j, 1, Surd[lim, 3]}, {i, 1, Sqrt[lim/j^3]}], # == 1 || EvenQ[Min[FactorInteger[#][[;; , 2]]]] &]; seq[2000]
PROG
(PARI) is(k) = {my(f = factor(k), e = f[, 2]); !(#e) || (ispowerful(f) && !(vecmin(e) % 2)); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Sep 13 2024
STATUS
approved