OFFSET
1,5
EXAMPLE
{1},
{1, -1},
{-1, -2, 1},
{1, 0, 3, -1},
{-1, 0, 2, -4, 1},
{1, 0, 0, -5, 5, -1},
{-1, 0, 0, -2, 9, -6, 1},
{1, 0, 0, 0, 7, -14, 7, -1},
{-1,0, 0, 0, 2, -16, 20, -8, 1},
{1, 0, 0, 0, 0, -9, 30, -27,9, -1},
{-1, 0, 0, 0, 0, -2, 25, -50, 35, -10, 1}
MATHEMATICA
f[n_, m_] := If[m == 1, n, If[n - m + 1 == 0, 1, If[n - m == 0, 1, If[n - m > 0, 1, 0]]]];
M[d_] := Table[Table[f[n, m], {n, 1, d}], {m, 1, d}];
a = Join[{{1}}, Table[CoefficientList[CharacteristicPolynomial[M[n], x], x], {n, 1, 10}]];
Flatten[a]
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula, Mar 20 2008
STATUS
approved