OFFSET
1,4
COMMENTS
REFERENCES
E. Barcucci, A. del Lungo and R. Pinzani, "Deco" polyominoes, permutations and random generation, Theoretical Computer Science, 159, 1996, 29-42.
FORMULA
T(n, k)=sum((n-j)!, j=1..k) for 1<=k<n; T(n, n)=1.
T(n,k)=T(n-1,k-1)+(n-1)! for k<n; T(n,n)=1.
EXAMPLE
Triangle begins:
1;
1,1;
2,3,1;
6,8,9,1;
24,30,32,33,1;
T(2,1)=T(2,2)=1 because the deco polyominoes of height 2 are the horizontal and vertical dominoes, having, respectively, 1 and 2 cells in their first columns.
MAPLE
T:=proc(n, k) if k=n then 1 elif k<n then sum((n-j)!, j=1..k) else 0 fi end: for n from 1 to 10 do seq(T(n, k), k=1..n) od; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Jan 06 2005, Aug 09 2006
STATUS
approved