cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A086376 Maximal coefficient of the polynomial (1-x)*(1-x^2)*...*(1-x^n).

Original entry on oeis.org

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
Offset: 0

Views

Author

Yuval Dekel (dekelyuval(AT)hotmail.com), Sep 07 2003

Keywords

Crossrefs

Programs

  • Maple
    A086376 := proc(n)
            g := expand(mul( 1-x^k,k=1..n) );
            convert(PolynomialTools[CoefficientVector](g, x), list):
            max(%);
    end proc:
    seq(A086376(n),n=0..60) ; # R. J. Mathar, Jun 01 2011
  • Mathematica
    b[0] = 1; b[n_] := b[n] = b[n-1]*(1-x^n) // Expand;
    a[n_] := CoefficientList[b[n], x] // Max;
    Table[a[n], {n, 0, 100}] (* Jean-François Alcover, Apr 13 2017 *)
  • PARI
    a(n)=vecmax(Vec(prod(k=1,n,1-x^k)));
    vector(100,n,a(n-1)) \\ Joerg Arndt, Jan 31 2024

Extensions

More terms from Sascha Kurz, Sep 22 2003
a(0)=1 prepended by Alois P. Heinz, Apr 12 2017