OFFSET
1,4
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := If[Max[(f = FactorInteger[n])[[;; , 2]]] == 1, n/f[[1, 1]], Times @@ (First@# & /@ f)]; Array[a, 84] (* Amiram Eldar, Aug 31 2019 *)
Join[{1}, Table[Max[Select[Most[Divisors[n]], SquareFreeQ]], {n, 2, 90}]] (* Harvey P. Dale, Sep 15 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 28 2003
STATUS
approved