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 7.
Lara Pudwell, Systematic Studies in Pattern Avoidance, 2005.
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: A(x) = {(9x^6-24x^5-23x^4-8x^3-3x^2+x-1)x}/{(x-1)^3}
For n >= 5, a(n) = (49n^2 - 325n + 540)/2. - Franklin T. Adams-Watters, Sep 16 2006
MAPLE
cn := [1, -2, 2, 2, 8, 23, 24, -9] ;
p := add(cn[i]*x^(i-1), i=1..nops(cn)) ;
q := (1-x)^3 ;
taylor(p/q, x=0, 40) ;
gfun[seriestolist](%) ; # R. J. Mathar, Nov 07 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved