OFFSET
0,3
COMMENTS
Row sums are the Motzkin numbers (A001006).
FORMULA
G.f.=G=G(t, z) satisfies tz^2*(1-z)G^2-(1-2*z+tz^2)*G+1-z=0.
EXAMPLE
Triangle begins:
1;
1;
2;
4;
8,1;
16,5;
32,18,1;
Row n contains floor(n/2) terms.
T(5,1)=5 counts HU(UD)D, U(UD)DH, UH(UD)D, U(UD)HD and U(UHD)D, where U=(1,1), H=(1,0), D=(1,-1) (the high humps are shown between parentheses).
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Sep 02 2004
STATUS
approved