login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104544 Triangle read by rows: T(n,k) is the number of Motzkin paths of length n having k HH's, where H=(1,0). 1

%I #4 Mar 30 2012 17:36:01

%S 1,1,1,3,0,1,5,3,0,1,11,6,3,0,1,25,13,9,3,0,1,55,40,16,12,3,0,1,129,

%T 95,60,20,15,3,0,1,303,250,155,80,25,18,3,0,1,721,661,415,235,100,31,

%U 21,3,0,1,1743,1708,1206,620,335,120,38,24,3,0,1,4241,4515,3262,1946,875,455

%N Triangle read by rows: T(n,k) is the number of Motzkin paths of length n having k HH's, where H=(1,0).

%F G.f.=G=G(t, z) satisfies z^2(1+z-tz)G^2-(1-tz)G+1+z-tz=0.

%e Triangle starts:

%e 1;

%e 1,1;

%e 3,0,1;

%e 5,3,0,1;

%e 11,6,3,0,1;

%e T(4,1)=3 because we have HHUD, UDHH and UHHD, where U=(1,1), D=(1,-1) and H=(1,0).

%Y Column 0 yields A104545. Row sums yield the Motzkin numbers (A001006).

%K nonn,tabl

%O 1,4

%A _Emeric Deutsch_, Mar 14 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 01:12 EDT 2024. Contains 374905 sequences. (Running on oeis4.)