OFFSET
1,3
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..506
EXAMPLE
a(5) = lcm(4,1) + lcm(4,1) + lcm(4,4) + lcm(4,18) = 4 + 4 + 4 + 36 = 48.
MATHEMATICA
Fold[Append[#1, Total@ LCM[#2, #1[[Range@ #2]] ] ] &, {1}, Range@ 22] (* Michael De Vlieger, Dec 11 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Aug 04 2000
STATUS
approved