OFFSET
1,2
LINKS
David Callan and Toufik Mansour, Enumeration of small Wilf classes avoiding 1324 and two other 4-letter patterns, arXiv:1705.00933 [math.CO], 2017, Table 2 No 143.
Lara Pudwell, Systematic Studies in Pattern Avoidance, 2005.
Index entries for linear recurrences with constant coefficients, signature (8,-28,56,-70,56,-28,8,-1).
FORMULA
G.f.: -x*(2*x^7-11*x^6+16*x^5-33*x^4+27*x^3-18*x^2+6*x-1)/(x-1)^8.
a(n) = (12*n^7 - 119*n^6 + 651*n^5 - 1505*n^4 + 693*n^3 + 6664*n^2 - 11436*n + 10080)/5040. - Franklin T. Adams-Watters, Sep 16 2006
MATHEMATICA
LinearRecurrence[{8, -28, 56, -70, 56, -28, 8, -1}, {1, 2, 6, 21, 75, 248, 735, 1952}, 40] (* Harvey P. Dale, Apr 01 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
EXTENSIONS
More terms from Jason Yuen, Sep 18 2025
STATUS
approved
