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.

Showing 1-1 of 1 results.

A144393 Triangle read by rows (n >= 0, 0 <= k <= n): row n gives the coefficients in the expansion of x^n + n*x^(n - 1) + n*x + 1.

Original entry on oeis.org

2, 2, 2, 1, 4, 1, 1, 3, 3, 1, 1, 4, 0, 4, 1, 1, 5, 0, 0, 5, 1, 1, 6, 0, 0, 0, 6, 1, 1, 7, 0, 0, 0, 0, 7, 1, 1, 8, 0, 0, 0, 0, 0, 8, 1, 1, 9, 0, 0, 0, 0, 0, 0, 9, 1, 1, 10, 0, 0, 0, 0, 0, 0, 0, 10, 1, 1, 11, 0, 0, 0, 0, 0, 0, 0, 0, 11, 1, 1, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 1
Offset: 0

Views

Author

Roger L. Bagula and Gary W. Adamson, Oct 02 2008

Keywords

Examples

			Triangle begins:
  2;
  2,  2;
  1,  4, 1;
  1,  3, 3, 1;
  1,  4, 0, 4, 1;
  1,  5, 0, 0, 5, 1;
  1,  6, 0, 0, 0, 6, 1;
  1,  7, 0, 0, 0, 0, 7, 1;
  1,  8, 0, 0, 0, 0, 0, 8, 1;
  1,  9, 0, 0, 0, 0, 0, 0, 9, 1;
  1, 10, 0, 0, 0, 0, 0, 0, 0, 10, 1;
  ...
		

Crossrefs

Row sums: A005843.
Cf. A144394.

Programs

  • Mathematica
    p[x_, n_] = x^n + n*x^(n - 1) + n*x + 1;
    Table[CoefficientList[p[x, n], x], {n, 0, 10}] // Flatten
  • Maxima
    T(n, k) := ratcoef(x^n + n*x^(n - 1) + n*x + 1, x, k)$
    create_list(T(n,k), n, 0, 20, k, 0, n);
    /* Franck Maminirina Ramaharo, Jan 25 2019 */

Extensions

Edited and offset corrected by Franck Maminirina Ramaharo, Jan 25 2019
Showing 1-1 of 1 results.