OFFSET
1,2
LINKS
MATHEMATICA
a[n_] := If[n == 1, 1, Module[{f=FactorInteger[n]}, LCM[Times@@((#-1)& @@@ f), Times@@((#+1)& @@@ f)]]]; Array[a, 100] (* Amiram Eldar, Dec 05 2018 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 04 2018
STATUS
approved