OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Lara Pudwell, Systematic Studies in Pattern Avoidance, 2005.
Index entries for linear recurrences with constant coefficients, signature (6,-14,17,-10,4).
FORMULA
G.f.: x*(1 - 4*x + 7*x^2 - 5*x^3 + 3*x^4) / (1 - 6*x + 14*x^2 - 17*x^3 + 10*x^4 - 4*x^5).
a(n) = 6*a(n-1) - 14*a(n-2) + 17*a(n-3) - 10*a(n-4) + 4*a(n-5) for n>5. - Colin Barker, Nov 01 2017
PROG
(PARI) Vec(x*(1 - 4*x + 7*x^2 - 5*x^3 + 3*x^4) / (1 - 6*x + 14*x^2 - 17*x^3 + 10*x^4 - 4*x^5) + O(x^40)) \\ Colin Barker, Nov 01 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved