OFFSET
0,6
REFERENCES
J. Riordan, The enumeration of permutations with three-ply staircase restrictions, unpublished memorandum, Bell Telephone Laboratories, Murray Hill, NJ, Oct 1963. See Table 1. - N. J. A. Sloane, Aug 27 2013
LINKS
Alois P. Heinz, Rows n = 0..20, flattened
EXAMPLE
1;
0, 1;
0, 0, 2;
0, 1, 2, 3;
1, 2, 10, 6, 5;
4, 20, 28, 44, 16, 8;
...
P(4; x) = Permanent(MATRIX([[x, x, 1, 1], [x, x, x, 1], [1, x, x, x], [1, 1, x, x]])) = 1+2*x+10*x^2+6*x^3+5*x^4.
MAPLE
with(LinearAlgebra):
T:= proc(n) option remember; local p;
if n=0 then 1 else
p:= Permanent(Matrix(n, (i, j)-> `if`(abs(i-j)<2, x, 1)));
seq(coeff(p, x, i), i=0..n)
fi
end:
seq(T(n), n=0..10); # Alois P. Heinz, Jul 03 2013
MATHEMATICA
t[0] = {1}; t[n_] := CoefficientList[Permanent[Array[If[Abs[#1 - #2] < 2, x, 1]&, {n, n}]], x]; Table[t[n], {n, 0, 10}] // Flatten (* Jean-François Alcover, Jan 24 2014, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Vladeta Jovovic, Vladimir Baltic, Jan 20 2003
STATUS
approved