|
|
A369706
|
|
Maximal coefficient of (1 + x^2) * (1 + x^3) * (1 + x^4) * ... * (1 + x^n).
|
|
0
|
|
|
1, 1, 1, 1, 1, 2, 3, 4, 7, 12, 20, 35, 62, 112, 199, 361, 657, 1206, 2221, 4110, 7636, 14234, 26618, 49910, 93846, 176906, 334184, 632602, 1199892, 2280164, 4340064, 8273610, 15796439, 30202620, 57820648, 110826888, 212681976, 408610024, 785833480, 1512776590, 2915017360
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,6
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
b:= proc(n) option remember; `if`(n<2, 1, expand(b(n-1)*(1+x^n))) end:
a:= n-> max(coeffs(b(n))):
|
|
MATHEMATICA
|
Table[Max[CoefficientList[Product[(1 + x^k), {k, 2, n}], x]], {n, 0, 40}]
|
|
PROG
|
(PARI) a(n) = vecmax(Vec(prod(i=2, n, 1+x^i))); \\ Michel Marcus, Jan 29 2024
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|