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.

A038498 Matrix inverse of partition triangle A008284.

Original entry on oeis.org

1, -1, 1, 0, -1, 1, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, 0, -1, -1, 1, -1, 1, 1, 0, -1, -1, 1, -1, 0, 2, 0, 0, -1, -1, 1, 0, -1, 0, 2, 0, 0, -1, -1, 1, 0, -2, 1, 1, 1, 0, 0, -1, -1, 1, 1, -2, -1, 1, 1, 1, 0, 0, -1, -1, 1, 1, -1, -2, 0, 2, 0, 1, 0, 0, -1, -1, 1
Offset: 1

Views

Author

Christian G. Bower, Feb 15 1999

Keywords

Comments

Since A008284 has only ones in its first column, the sum of terms for any row n > 1 is 0. - François Marques, Feb 09 2021

Examples

			Triangle begins:
  1;
  -1,1;
  0,-1,1;
  1,-1,-1,1;
  ...
		

Crossrefs

Programs

  • PARI
    tp(n, k) = if (n<1, 0, if (k<1, 0, if (k == n, 1, if (k > n, 0, tp(n-1, k-1) + tp(n-k, k)))));
    tabl(nn) = {mtp = matrix(nn, nn, n, k, tp(n, k)); mtpi = mtp^(-1); for (n = 1, nn, for (k = 1, n, print1(mtpi[n, k], ", ");); print(););} \\ Michel Marcus, Mar 04 2014

Formula

T(n,n-k) = A010815(k) for k <= n/2. - François Marques, Feb 09 2021