login
A329679
Number of excursions of length n with Motzkin-steps consisting only of consecutive steps UH, UD, HD and DH.
2
1, 1, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
0,4
COMMENTS
The Motzkin step set is U=(1,1), H=(1,0) and D=(1,-1). An excursion is a path starting at (0,0), ending on the x-axis and never crossing the x-axis, i.e., staying at nonnegative altitude.
FORMULA
G.f.: 1 + t + t^2 + 2t^3 + t^4.
EXAMPLE
We only have the following six excursions of this type: the empty walk, H, UD, UDH, UHD and UHDH.
CROSSREFS
Cf. A329670, A329677, A329678 (other Motzkin excursions avoiding certain consecutive steps such that the sequence counting them has growth rate zero).
Sequence in context: A230093 A066288 A033322 * A130713 A236619 A355627
KEYWORD
nonn,walk,easy
AUTHOR
Valerie Roitner, Dec 16 2019
STATUS
approved