OFFSET
0,2
EXAMPLE
For n=5 the matrix is
+2 -1 +0 +0 +0
-3 +3 -1 +0 +0
+1 -3 +3 -1 +0
+0 +1 -3 +3 -1
+0 +0 +1 -3 +3
Triangle starts:
1,
-2, 1,
3, -5, 1,
-4, 15, -8, 1,
5, -35, 36, -11, 1,
-6, 70, -120, 66, -14, 1,
7, -126, 330, -286, 105, -17, 1,
MAPLE
with(linalg): m:=proc(i, j) if i=1 and j=1 then 2 elif i=j then 3 elif j-i=1 then -1 elif i-j=1 then -3 elif i-j=2 then 1 else 0 fi end: T:=proc(n, k) if n=0 and k=0 then 1 elif n>0 and k<=n then coeff(charpoly(matrix(n, n, m), x), x, k) else 0 fi end: for n from 0 to 10 do seq(T(n, k), k=0..n) od; # yields sequence in triangular form
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Roger L. Bagula and Gary W. Adamson, Oct 31 2006
EXTENSIONS
Edited by N. J. A. Sloane, Dec 03 2006
STATUS
approved