OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := Module[{ps = First /@ FactorInteger[n]}, n * First[ps] / Last[ps]]; Array[a, 100] (* Amiram Eldar, Nov 27 2020 *)
PROG
(PARI) a(n) = if (n==1, 1, my(f=factor(n)[, 1]~); n*vecmin(f)/vecmax(f)); \\ Michel Marcus, Nov 27 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 05 2007
STATUS
approved