OFFSET
0,3
LINKS
J.-L. Baril, S. Kirgizov, V. Vanjovszki, Descent distribution on Catalan words avoiding a pattern of length at most three, Disc. Math. 341 (2018) 2608-2615, Table 2.
Index entries for linear recurrences with constant coefficients, signature (1,3,-1).
MAPLE
(1-2*x^2)/(1-x-3*x^2+x^3) ;
taylor(%, x=0, 30) ;
gfun[seriestolist](%) ;
MATHEMATICA
LinearRecurrence[{1, 3, -1}, {1, 1, 2}, 40] (* Harvey P. Dale, Aug 06 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Apr 09 2019
STATUS
approved