OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
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 168 and 169.
Lara Pudwell, Systematic Studies in Pattern Avoidance, 2005.
Index entries for linear recurrences with constant coefficients, signature (8,-23,29,-14,1)
FORMULA
G.f.: x*(1 - 6*x + 13*x^2 - 10*x^3 + x^4) / ((1 - x)*(1 - 7*x + 16*x^2 - 13*x^3 + x^4)).
a(n) = 8*a(n-1) - 23*a(n-2) + 29*a(n-3) - 14*a(n-4) + a(n-5) for n>5. - Colin Barker, Oct 18 2017
PROG
(PARI) Vec(x*(1 - 6*x + 13*x^2 - 10*x^3 + x^4) / ((1 - x)*(1 - 7*x + 16*x^2 - 13*x^3 + x^4)) + O(x^30)) \\ Colin Barker, Oct 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved