OFFSET
1,12
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
f[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, If[AllTrue[e, IntegerQ[Sqrt[#]] &], Times @@ e, Nothing]]; Array[f, 150]
PROG
(PARI) lista(kmax) = {my(e, ok); for(k = 1, kmax, e = factor(k)[, 2]; ok = 1; for(i = 1, #e, if(!issquare(e[i]), ok = 0; break)); if(ok, print1(vecprod(e), ", "))); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Dec 26 2023
STATUS
approved