OFFSET
1,5
COMMENTS
The positive terms in A188585.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
f[p_, e_] := PartitionsP[e] - PartitionsP[e-1]; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; seq[lim_] := Module[{pow = Union[Flatten[Table[i^2*j^3, {j, 1, Surd[lim, 3]}, {i, 1, Sqrt[lim/j^3]}]]]}, Select[s /@ pow, # > 0 &]]; seq[10^4]
PROG
(PARI) s(n) = vecprod(apply(x -> numbpart(x)-numbpart(x-1), factor(n)[, 2]));
pows(lim) = {my(p = List()); for(j = 1, sqrtnint(lim, 3), for(i = 1, sqrtint(lim \ j^3), listput(p, i^2 * j^3))); Set(p); }
list(lim) = {my(p = pows(lim), v = List(), s1); for(k = 1, #p, s1 = s(p[k]); if(s1 > 0, listput(v, s1))); Vec(v); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Jun 10 2025
STATUS
approved
