OFFSET
0,6
FORMULA
a(n) ~ A025591(n)/2. - Vaclav Kotesovec, Jan 29 2024
MAPLE
b:= proc(n) option remember; `if`(n<2, 1, expand(b(n-1)*(1+x^n))) end:
a:= n-> max(coeffs(b(n))):
seq(a(n), n=0..40); # Alois P. Heinz, Jan 29 2024
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
Ilya Gutkovskiy, Jan 29 2024
STATUS
approved