OFFSET
0,3
LINKS
Colin Barker, Table of n, a(n) for n = 0..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 186.
Index entries for linear recurrences with constant coefficients, signature (10,-40,83,-97,64,-22,3).
FORMULA
G.f.: (1 - 9*x + 32*x^2 - 57*x^3 + 55*x^4 - 27*x^5 + 4*x^6) / ((1 - x)^4*(1 - 3*x)*(1 - 3*x + x^2)).
From Colin Barker, Nov 09 2017: (Start)
a(n) = (35/16 + (13*3^n)/16 - ((3-sqrt(5))/2)^n - ((3+sqrt(5))/2)^n - (7*n)/6 + (5*n^2)/8 - n^3/12).
a(n) = 10*a(n-1) - 40*a(n-2) + 83*a(n-3) - 97*a(n-4) + 64*a(n-5) - 22*a(n-6) + 3*a(n-7) for n>6.
(End)
MAPLE
-(-27*x^5+55*x^4-57*x^3+32*x^2-9*x+1+4*x^6)/((3*x-1)*(x^2-3*x+1)*(x-1)^4) ;
taylor(%, x=0, 40) ;
gfun[seriestolist](%) ;
PROG
(PARI) Vec((1 - 9*x + 32*x^2 - 57*x^3 + 55*x^4 - 27*x^5 + 4*x^6) / ((1 - x)^4*(1 - 3*x)*(1 - 3*x + x^2)) + O(x^30)) \\ Colin Barker, Nov 09 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Nov 08 2017
STATUS
approved