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.

A267007 Expansion of Product_{k>=1} (1 + (k-1)*x^k).

Original entry on oeis.org

1, 0, 1, 2, 3, 6, 8, 16, 20, 42, 51, 92, 132, 204, 299, 476, 644, 978, 1488, 2024, 3048, 4318, 6248, 8596, 12555, 17378, 24740, 34310, 47940, 65842, 93221, 125238, 173848, 239348, 324724, 445882, 602140, 816424, 1101096, 1495382, 1991892, 2684252, 3598248
Offset: 0

Views

Author

Vaclav Kotesovec, Jan 08 2016

Keywords

Crossrefs

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(i*(i+1)/2 b(n$2):
    seq(a(n), n=0..42);  # Alois P. Heinz, Aug 15 2019
  • Mathematica
    nmax = 50; CoefficientList[Series[Product[1+(k-1)*x^k, {k, 1, nmax}], {x, 0, nmax}], x]
    nmax = 50; poly = ConstantArray[0, nmax+1]; poly[[1]] = 1; poly[[2]] = 0; Do[Do[poly[[j+1]] += (k-1)*poly[[j-k+1]], {j, nmax, k, -1}];, {k, 2, nmax}]; poly