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 202.
Lara Pudwell, Systematic Studies in Pattern Avoidance, 2005.
Index entries for linear recurrences with constant coefficients, signature (7,-15,11,-3).
FORMULA
G.f.: x*(1 - 2*x)*(1 - 3*x + x^2) / (1 - 7*x + 15*x^2 - 11*x^3 + 3*x^4).
a(n) = 7*a(n-1) - 15*a(n-2) + 11*a(n-3) - 3*a(n-4) for n>4. - Colin Barker, Oct 23 2017
PROG
(PARI) Vec(x*(1 - 2*x)*(1 - 3*x + x^2) / (1 - 7*x + 15*x^2 - 11*x^3 + 3*x^4) + O(x^30)) \\ Colin Barker, Oct 23 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved