[go: up one dir, main page]

login
A136481
Triangle: h(n,m)=If[m == 1, n, If[n - m + 1 == 0, 1, If[n - m == 0, 1, If[n - m > 0, 1, 0]]]],n,m<=d.
1
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
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
Sequence in context: A130162 A175595 A175417 * A100218 A098599 A326925
KEYWORD
uned,tabl,sign,less
AUTHOR
Roger L. Bagula, Mar 20 2008
STATUS
approved