OFFSET
1,3
COMMENTS
The largest LCM is attained for a partition of n into powers of distinct odd primes and 1's.
LINKS
Petr Gregor, Arturo Merino, and Torsten Mütze, The Hamilton compression of highly symmetric graphs, arXiv preprint arXiv:2205.08126 [math.CO], 2022.
EXAMPLE
The partitions of n=8 into odd parts are 7+1, 5+3, 5+1+1+1, 3+3+1+1, 3+1+1+1+1+1, 1+1+1+1+1+1+1+1, and the partition with largest LCM among those is 5+3, which has LCM(5,3)=5*3=15, so a(8)=15.
PROG
(PARI) a(n) = my(x=1); forpart(p=n, if (!#select(x->((x%2)==0), Vec(p)), x = max(x, lcm(Vec(p))))); x; \\ Michel Marcus, Jul 08 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Torsten Muetze, Jul 07 2022
STATUS
approved