The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A105640 Triangle read by rows: T(n,k) is the number of hill-free Dyck paths of semilength n and having k UUDD's, where U=(1,1) and D=(1,-1) (0<=k<=floor(n/2), n>=2). A hill in a Dyck path is a peak at level 1. 2

%I

%S 0,1,1,1,2,3,1,5,10,3,14,29,13,1,39,89,52,6,111,279,195,36,1,322,881,

%T 722,185,10,947,2806,2637,867,80,1,2818,8997,9528,3846,520,15,8470,

%U 28997,34163,16382,2976,155,1,25677,93858,121749,67696,15631,1246,21

%N Triangle read by rows: T(n,k) is the number of hill-free Dyck paths of semilength n and having k UUDD's, where U=(1,1) and D=(1,-1) (0<=k<=floor(n/2), n>=2). A hill in a Dyck path is a peak at level 1.

%C Row n has 1+floor(n/2) terms. Row sums are the Fine numbers (A000957). T(n,0)=A105641(n). Sum(k*T(n,k),k=0..floor(n/2))=A116914(n).

%H E. Deutsch and L. Shapiro, <a href="https://doi.org/10.1016/S0012-365X(01)00121-2">A survey of the Fine numbers</a>, Discrete Math., 241 (2001), 241-265.

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

%e T(5,2)=3 because we have U(UUDD)(UUDD)D, (UUDD)U(UUDD)D and U(UUDD)D(UUDD) (the UUDD's are shown between parentheses).

%e Triangle starts:

%e 0,1;

%e 1,1;

%e 2,3,1;

%e 5,10,3;

%e 14,29,13,1;

%e ...

%p G:=(1+2*z+z^2-t*z^2-sqrt(1-4*z+2*z^2-2*t*z^2+z^4-2*z^4*t+t^2*z^4))/2/z/(2+z+z^2-t*z^2)-1: Gser:=simplify(series(G,z=0,17)): for n from 2 to 14 do P[n]:=sort(coeff(Gser,z^n)) od: for n from 2 to 14 do seq(coeff(P[n],t,j),j=0..floor(n/2)) od; # yields sequence in triangular form

%Y Cf. A000957, A105641, A116914.

%K nonn,tabf

%O 2,5

%A _Emeric Deutsch_, May 08 2006

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

Last modified December 4 15:36 EST 2020. Contains 338928 sequences. (Running on oeis4.)