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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132887 Number of symmetric paths in the first quadrant, from (0,0) to (n,0), consisting of steps U=(1,1), D=(1,-1), h=(1,0) and H=(2,0). 0
1, 1, 3, 2, 8, 6, 23, 17, 68, 51, 205, 154, 627, 473, 1937, 1464, 6032, 4568, 18900, 14332, 59519, 45187, 188211, 143024, 597241, 454217, 1900821, 1446604, 6065180, 4618576, 19396027 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

a(2n+1)=A059398(n); a(2n)=A059398(n-1)+A059398(n). The number of all paths in the first quadrant, from (0,0) to (n,0), consisting of steps U=(1,1), D=(1,-1), h=(1,0) and H=(2,0) is A128720(n).

FORMULA

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

EXAMPLE

a(4)=8 because we have hhhh, hHh, HH, hUDh, UDUD, UhhD, UHD and UUDD.

MAPLE

G:=(2*(1+z+z^2))/(1-3*z^2-z^4+sqrt((1+z^2-z^4)*(1-3*z^2-z^4))): Gser:=series(G, z=0, 35): seq(coeff(Gser, z, n), n=0..30);

CROSSREFS

Cf. A128720, A059398.

Sequence in context: A122297 A073283 A117822 * A092174 A083514 A123696

Adjacent sequences:  A132884 A132885 A132886 * A132888 A132889 A132890

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Sep 05 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 16 01:31 EST 2012. Contains 205860 sequences.