|
|
A086376
|
|
Maximal coefficient of the polynomial (1-x)*(1-x^2)*...*(1-x^n).
|
|
18
|
|
|
1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 3, 2, 4, 3, 3, 4, 6, 5, 6, 7, 8, 8, 10, 11, 16, 16, 18, 21, 28, 29, 34, 41, 50, 56, 66, 80, 100, 114, 131, 158, 196, 225, 263, 320, 388, 455, 532, 644, 786, 921, 1083, 1321, 1600, 1891, 2218, 2711, 3280, 3895, 4588, 5591, 6780, 8051, 9519, 11624
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,5
|
|
LINKS
|
|
|
MAPLE
|
g := expand(mul( 1-x^k, k=1..n) );
convert(PolynomialTools[CoefficientVector](g, x), list):
max(%);
end proc:
|
|
MATHEMATICA
|
b[0] = 1; b[n_] := b[n] = b[n-1]*(1-x^n) // Expand;
a[n_] := CoefficientList[b[n], x] // Max;
|
|
PROG
|
(PARI) a(n)=vecmax(Vec(prod(k=1, n, 1-x^k)));
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Yuval Dekel (dekelyuval(AT)hotmail.com), Sep 07 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|