OFFSET
1,2
LINKS
Enrique PĂ©rez Herrero, Table of n, a(n) for n = 1..10000
MATHEMATICA
Map[LCM[#[[1, 1]], #[[-1, 1]]] &, FactorInteger[Range[100]]] (* Paolo Xausa, Mar 29 2024 *)
PROG
(PARI) a(n) = if (n==1, 1, my(f=factor(n)[, 1]~); lcm(vecmin(f), vecmax(f))); \\ Michel Marcus, Mar 15 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 31 2003
STATUS
approved