OFFSET
1,2
LINKS
D. Callan, T. 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.: A(x) = -{(2x^7-11x^6+16x^5-33x^4+27x^3-18x^2+6x-1)x}/{(x-1)^8}
a(n) = (12n^7 - 119n^6 + 651n^5 - 1505n^4 + 693n^3 + 6664n^2 - 11436n + 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
STATUS
approved