OFFSET
2,1
COMMENTS
a(n) <= A123131(n).
LINKS
Fausto A. C. Cariboni, Table of n, a(n) for n = 2..260
EXAMPLE
For n=22 we have a(22) = 360 since 22 = 5 + 8 + 9 and lcm([5, 8, 9]) = 360.
Note a(22) = 360 < A123131(22) = 420.
PROG
(PARI) isok(p) = {for (i=1, #p, for (j=i+1, #p, if (gcd(p[i], p[j]) > 1, return(0)); ); ); return(1); }
a(n) = {my(x=1); forpart(p=n, if ((vecmin(p)>=2) && isok(p), x = max(x, lcm(Vec(p)))); ); x; } \\ Michel Marcus, Jan 03 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Fausto A. C. Cariboni, Jan 02 2021
STATUS
approved