OFFSET
0,9
EXAMPLE
Triangle starts:
{ 1},
{ 1, -1},
{-1, -1, 1},
{-1, 1, 2, -1},
{ 1, -1, -4, -1, 1},
{ 1, -3, -3, 4, 2, -1},
{-1, 3, 7, -2, -7, -1, 1},
{-1, 5, 4, -11, -5, 7, 2, -1},
{ 1, -5, -10, 9, 18, -3, -10, -1, 1},
{ 1, -7, -5, 22, 9, -24, -7, 10, 2, -1}
...
From M. F. Hasler, Apr 30 2018: (Start)
For n = 0, the determinant of the 0 X 0 matrix is 1 by convention, which yields row 0 = [ 1 ].
For n = 1, we have det [1 - x] = 1 - x, which yields row 1 = [1, -1].
For n = 2, we have det [-x, 1; 1, 1 - x] = x(x - 1) - 1 = x^2 - x - 1; in order of increasing powers this yields row 2 = [-1, -1, +1]. (End)
PROG
(PARI) A122374_row(n)=(-1)^n*Vecrev(charpoly(matrix(n, n, i, j, i==n||j==n||i+j==n+1), x)) \\ Yields the n-th row. - M. F. Hasler, Apr 26 2018
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula and Gary W. Adamson, Oct 19 2006
EXTENSIONS
Edited by M. F. Hasler, Apr 26 2018
STATUS
approved