Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114581
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A114581 Triangle read by rows: T(n,k) is the number of Motzkin paths of length n having k UDH's starting at level 0 (U=(1,1),H=(1,0),D=(1,-1)). +0
2
1, 1, 2, 3, 1, 7, 2, 16, 5, 40, 10, 1, 100, 24, 3, 256, 58, 9, 663, 149, 22, 1, 1741, 386, 57, 4, 4620, 1017, 147, 14, 12376, 2702, 392, 40, 1, 33416, 7248, 1053, 113, 5, 90853, 19590, 2859, 312, 20, 248515, 53318, 7803, 870, 65, 1, 683429, 145984, 21420, 2428 (list; graph; listen)
OFFSET

0,3

COMMENT

Row n contains 1+floor(n/3) terms. Row sums are the Motzkin numbers (A001006). Column 0 yields A114582. Sum(k*T(n,k),k=0..floor(n/3))=A002026(n-2).

FORMULA

G.f.=2/[1-z-2tz^3+2z^3+sqrt(1-2z-3z^2)].

EXAMPLE

T(7,2)=3 because we have (UDH)(UDH)H, H(UDH)(UDH), and (UDH)H(UDH), where U=(1,1),H=(1,0),D=(1,-1) (the UDH's starting at level 0 are shown between parentheses).

Triangle starts:

1;

1;

2;

3,1;

7,2;

16,5;

40,10,1;

MAPLE

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

CROSSREFS

Cf. A001006, A114582, A002026.

Sequence in context: A128264 A114858 A114583 this_sequence A085588 A118008 A121637

Adjacent sequences: A114578 A114579 A114580 this_sequence A114582 A114583 A114584

KEYWORD

nonn,tabf

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 09 2005

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 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research