login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127540 Number of odd-length branches starting at the root in all ordered trees with n edges. 3
0, 1, 2, 7, 21, 69, 228, 773, 2659, 9275, 32715, 116511, 418377, 1513163, 5507242, 20155583, 74131537, 273862373, 1015762117, 3781095113, 14121051487, 52895245133, 198681804877, 748162728797, 2823879525331, 10681527145369 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

a(n)=Sum(k*A127538(n,k),k=0..n).

Also number of even-length branches starting at the root in all ordered trees with n+1 edges. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 03 2007

Also number of Dyck paths of semi-length n+1 with first descent and last ascent of equal size.

FORMULA

G.f.=zC/(1-z^2-zC-z^2*C), where C =[1-sqrt(1-4z)]/(2z) is the Catalan function.

EXAMPLE

a(2)=2 because the tree /\ has two odd-length branches starting from the root and the path-tree of length 2 has none.

a(2)=2 because the Dyck paths of semi-length 3 with first descent and last ascent of same size are UUDUDD and UDUDUD.

MAPLE

C:=(1-sqrt(1-4*z))/2/z: g:=z*C/(1-z^2-z*C-z^2*C): gser:=series(g, z=0, 32): seq(coeff(gser, z, n), n=0..29);

CROSSREFS

Cf. A127538.

Sequence in context: A052911 A126133 A186240 * A060900 A151289 A150300

Adjacent sequences:  A127537 A127538 A127539 * A127541 A127542 A127543

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 01 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:45 EST 2012. Contains 205694 sequences.