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 1342 and two other 4-letter patterns, arXiv:1708.00832 [math.CO] (2017). Table 1 No 86.
Index entries for linear recurrences with constant coefficients, signature (8,-25,39,-32,13,-2).
FORMULA
O.g.f.: (1 - 7*x + 19*x^2 - 24*x^3 + 16*x^4 - 4*x^5 - x^6 + 2*x^7)/((1 - 2*x)*(1 - 3*x + x^2)*(1 - x)^3).
a(n) = 8*a(n-1) - 25*a(n-2) + 39*a(n-3) - 32*a(n-4) + 13*a(n-5) - 2*a(n-6) for n>7. - Colin Barker, Nov 07 2017
MAPLE
p := 1-7*x+19*x^2-24*x^3+16*x^4-4*x^5-x^6+2*x^7 ;
q := (1-x)^3*(1-2*x)*(1-3*x+x^2) ;
taylor(p/q, x=0, 40) ;
gfun[seriestolist](%) ;
PROG
(PARI) Vec((1 - 7*x + 19*x^2 - 24*x^3 + 16*x^4 - 4*x^5 - x^6 + 2*x^7) / ((1 - x)^3*(1 - 2*x)*(1 - 3*x + x^2)) + O(x^30)) \\ Colin Barker, Nov 07 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Nov 07 2017
STATUS
approved