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 3.
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) = -{x(18x^6+31x^5+22x^4+8x^3+3x^2-x+1)}/(x-1)^3.
FOr n >= 5, a(n) = 41n^2 - 339n + 739. - Franklin T. Adams-Watters, Sep 16 2006
MAPLE
cn := [1, -2, 2, 2, 8, 22, 31, 18] ;
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