OFFSET
1,5
COMMENTS
a(n) is asymptotic to (n^4)/256.
LINKS
EXAMPLE
a(18)=140 because 18 = 7+5+2+2 and lcm(2,2,5,7) = 140 is maximal.
MATHEMATICA
Max[LCM @@@ Compositions[ #, 4]] & /@ Range[1, n] (* needs Combinatorica *)
Join[{0, 0, 0}, Table[Max[LCM@@#&/@IntegerPartitions[n, {4}]], {n, 4, 50}]] (* Harvey P. Dale, Feb 25 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Nickolas Reynolds (nickels(AT)gmail.com), Apr 25 2007
STATUS
approved