Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132893
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132893 Triangle read by rows: T(n,k) is the number of paths of length n with steps U=(1,1), D=(1,-1) and H=(1,0), starting at (0,0), staying weakly above the x-axis (i.e. left factors of Motzkin paths) and having k peaks (i.e. UDs; (0<=k<=floor(n/2)). +0
2
1, 2, 4, 1, 9, 4, 21, 13, 1, 50, 40, 6, 121, 118, 27, 1, 296, 340, 106, 8, 730, 965, 381, 46, 1, 1812, 2708, 1296, 220, 10, 4521, 7535, 4241, 935, 70, 1, 11328, 20828, 13482, 3676, 395, 12, 28485, 57266, 41916, 13658, 1940, 99, 1 (list; graph; listen)
OFFSET

0,2

COMMENT

Row n has 1+floor(n/2) terms. T(n,0)=A091964(n). Row sums yield A005773. Sum(k*T(n,k),k=0..floor(n/2))=A132894(n-1).

FORMULA

G.f.=G=G(t,z) satisfies z(1-3z+z^(2)-tz^(2))G^(2)+(1-3z+z^(2)-tz^(2))G-1=0 (see the Maple program for the explicit expression of G).

EXAMPLE

T(3,1)=4 because we have HUD, UDH, UDU and UUD.

Triangle starts:

1;

2;

4,1;

9,4;

21,13,1;

50,40,6;

121,118,27,1;

MAPLE

G:=((-1+3*z-z^2+t*z^2+sqrt((1+z+z^2-t*z^2)*(1-3*z+z^2-t*z^2)))*1/2)/(z*(1-3*z+z^\ 2-t*z^2)): Gser:=simplify(series(G, z=0, 15)): for n from 0 to 12 do P[n]:=sort(coeff(Gser, z, n)) end do: for n from 0 to 12 do seq(coeff(P[n], t, j), j=0..floor((1/2)*n)) end do; # yields sequence in triangular form

CROSSREFS

Cf. A091964, A132894, A005773.

Sequence in context: A114489 A101974 A097607 this_sequence A163240 A091958 A116424

Adjacent sequences: A132890 A132891 A132892 this_sequence A132894 A132895 A132896

KEYWORD

nonn,tabf

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 08 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research