login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A329673 Number of meanders of length n with Motzkin-steps avoiding the consecutive steps HH. 2
1, 2, 4, 10, 24, 60, 152, 388, 1000, 2592, 6752, 17664, 46368, 122080, 322240, 852464, 2259552, 5999552, 15954560, 42486592, 113282048, 302386304, 807999744, 2161077120, 5785032448, 15498450944, 41551965184, 111478804480, 299274439680, 803905119232, 2160632498176, 5810087371520 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The Motzkin step set is U=(1,1), H=(1,0) and D=(1,-1). A meander is a path starting at (0,0) and never crossing the x-axis, i.e., staying at nonnegative altitude.
LINKS
FORMULA
G.f.: -(1-2*t-2*t^2-sqrt(1-4*t^2-8*t^3-4*t^4))/(2*t*(1-2*t-2*t^2)).
D-finite with recurrence (n+1)*a(n) -2*a(n-1) -4*n*a(n-2) +8*(-n+2)*a(n-3) +4*(-n+3)*a(n-4)=0. - R. J. Mathar, Jan 25 2023
EXAMPLE
a(2)=4 since we have 4 meanders of length 2 avoiding HH, namely UU, UH, UD and HU.
CROSSREFS
Cf. A104545 which counts excursions avoiding consecutive HH steps. Cf. A329672 and A329674 which count meanders avoiding consecutive UU and DD respectively.
Sequence in context: A100087 A291419 A088354 * A055919 A006575 A307900
KEYWORD
nonn,walk
AUTHOR
Valerie Roitner, Nov 26 2019
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)