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