login
Number of excursions of length n with Motzkin-steps consisting only of consecutive steps UD and DH.
3

%I #8 Jul 20 2024 10:42:48

%S 1,1,1,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,

%T 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,

%U 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

%N Number of excursions of length n with Motzkin-steps consisting only of consecutive steps UD and DH.

%C 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.

%H Andrei Asinowski, Cyril Banderier, and Valerie Roitner, <a href="https://lipn.univ-paris13.fr/~banderier/Papers/several_patterns.pdf">Generating functions for lattice paths with several forbidden patterns</a>, preprint, 2019.

%H <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1).

%F G.f.: 1 + t + t^2 + t^3.

%e We only have the following four excursions of this type: the empty walk, H, UD and UDH.

%Y Cf. A329670, A329677, A329679 (other Motzkin excursions avoiding certain consecutive steps such that the sequence counting them has growth rate zero).

%K nonn,walk,easy

%O 0

%A _Valerie Roitner_, Dec 16 2019