login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A116793
Number of permutations of length n which avoid the patterns 1432, 2143, 3124; or avoid the patterns 1432, 2314, 3142.
1
1, 2, 6, 21, 74, 253, 845, 2791, 9188, 30246, 99639, 328422, 1082797, 3570197, 11771589, 38812310, 127966990, 421913905, 1391070390, 4586427029, 15121681789, 49856965951, 164381014292, 541972783322, 1786912535551
OFFSET
1,2
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
Sequence in context: A116780 A116777 A294768 * A294805 A116805 A116790
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved