OFFSET
0,3
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
D. Callan and T. Mansour, Enumeration of small Wilf classes avoiding 1324 and two other 4-letter patterns, arXiv:1705.00933 [math.CO] (2017), Table 1 No 88.
Index entries for linear recurrences with constant coefficients, signature (8,-24,32,-16).
FORMULA
G.f.: (1 - x)^2*(1 - 5*x + 7*x^2 + x^3) / (1 - 2*x)^4.
From Colin Barker, Nov 09 2017: (Start)
a(n) = 2^(n-6)*(36 - 8*n + n^2 + n^3) for n>1.
a(n) = 8*a(n-1) - 24*a(n-2) + 32*a(n-3) - 16*a(n-4) for n>5.
(End)
MAPLE
(1 -x)^2*(1 -5*x +7*x^2 +x^3)/(1 -2*x)^4 ;
taylor(%, x=0, 40) ;
gfun[seriestolist](%) ;
PROG
(PARI) Vec((1 - x)^2*(1 - 5*x + 7*x^2 + x^3) / (1 - 2*x)^4 + O(x^30)) \\ Colin Barker, Nov 09 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Nov 09 2017
STATUS
approved