OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Maurice-Étienne Cloutier, Jean-Marie De Koninck, and Nicolas Doyon, On the powerful and squarefree parts of an integer, Journal of Integer Sequences, Vol. 17 (2014), Article 14.6.6.
MATHEMATICA
funp[p_, e_] := If[e > 1, p^e, 1]; pow[n_] := Times @@ (funp @@@ FactorInteger[n]); aQ[n_] := pow[n] > n/pow[n]; Select[Range[1000], aQ]
PROG
(PARI) pful(f) = prod(i=1, #f~, if(f[i, 2]>1, f[i, 1]^f[i, 2], 1)); \\ A057521
pfree(f) = for (k=1, #f~, if (f[k, 2] > 1, f[k, 2] = 0); ); factorback(f); \\ A055231
isok(n) = my(f=factor(n)); pful(f) > pfree(f); \\ Michel Marcus, Oct 02 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Oct 01 2019
STATUS
approved