OFFSET
1,3
COMMENTS
Number of Catalan words of length n avoiding the pattern 1111 of length 4.
LINKS
Mansour, Toufik; Shattuck, Mark Avoidance of classical patterns by Catalan sequences. Filomat 31, No. 3, 543-558 (2017). Corollary 2.2
Index entries for linear recurrences with constant coefficients, signature (0,2,9,0,-3).
FORMULA
G.f.: x*(1+x-7*x^3-3*x^4+x^5)/(1-2*x^2-9*x^3+3*x^5).
a(n) = 2*a(n-2) + 9*a(n-3) - 3*a(n-5). - Wesley Ivan Hurt, Apr 20 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Aug 23 2022
STATUS
approved