OFFSET
1,2
LINKS
D. Callan, T. Mansour, Enumeration of small Wilf classes avoiding 1324 and two other 4-letter patterns, arXiv:1705.00933 (2017), Table 2 No 47.
Lara Pudwell, Systematic Studies in Pattern Avoidance, 2005.
Index entries for linear recurrences with constant coefficients, signature (9, -33, 64, -71, 45, -15, 2).
FORMULA
G.f.: A(x) = -{x(2x^6-12x^5+24x^4-31x^3+21x^2-7x+1)}/{(2x-1)(x^2-3x+1)(x-1)^4}
a(0)=1, a(1)=2, a(2)=6, a(3)=21, a(4)=72, a(5)=230, a(6)=689, a(n)= 9*a(n-1)-33*a(n-2)+64*a(n-3)-71*a(n-4)+45*a(n-5)-15*a(n-6)+2*a(n-7) [From Harvey P. Dale, May 19 2011]
MATHEMATICA
LinearRecurrence[{9, -33, 64, -71, 45, -15, 2}, {1, 2, 6, 21, 72, 230, 689}, 40] (* or *) Rest[CoefficientList[Series[-(x(2x^6-12x^5+24x^4-31x^3+21x^2-7x+1))/ ((2x-1)(x^2-3x+1)(x-1)^4), {x, 0, 40}], x]] (* Harvey P. Dale, May 19 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved