OFFSET
2,1
LINKS
Gheorghe Coserea, Table of n, a(n) for n = 2..124
Gheorghe Coserea, Partitions solutions for n = 2..124
J.-L. Nicolas, Ordre maximal d’un élément du groupe S_n des permutations et «highly composite numbers», Bull. Math. Soc. France, 97 (1969), 129-191.
FORMULA
EXAMPLE
For n=22 we have a(22)=420 since 22 = 4 + 5 + 6 + 7 = 3 + 3 + 4 + 5 + 7 and lcm([4, 5, 6, 7]) = lcm([3, 3, 4, 5, 7]) = 420.
For n=26 we have a(26)=1155 since 26 = 3 + 5 + 7 + 11 and lcm([3,5,7,11]) = 1155.
PROG
(PARI)
seq(N) = {
my(a = vector(N+1, n, n));
for (n=5, #a, forpart(p=n, a[n] = max(a[n], lcm(Vec(p))), [2, n-2]));
a[2..#a];
};
seq(48) \\ Gheorghe Coserea, Dec 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Antoine Verroken and Vladeta Jovovic, Sep 30 2006
STATUS
approved