OFFSET
1,2
LINKS
Harvey P. Dale, 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 (7,-15,10,-2).
FORMULA
G.f.: A(x) = -{(x^3-7x^2+5x-1)x}/{(2x^2-4x+1)(x^2-3x+1)}
MATHEMATICA
LinearRecurrence[{7, -15, 10, -2}, {1, 2, 6, 21}, 30] (* Harvey P. Dale, Jul 06 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved