OFFSET
1,12
COMMENTS
Differs from A368474 at n = 1, 834, 4154, 5822, 6417, ... .
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
squareQ[n_] := IntegerQ[Sqrt[n]]; f[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, If[AllTrue[e, squareQ], Max @@ e, Nothing]]; f[1] = 0; Array[f, 150]
PROG
(PARI) lista(kmax) = {my(e, q); print1(0, ", "); for(k = 2, kmax, e = factor(k)[, 2]; q = 1; for(i = 1, #e, if(!issquare(e[i]), q = 0; break)); if(q, print1(vecmax(e), ", "))); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Feb 06 2024
STATUS
approved