login
A116746
Number of permutations of length n which avoid the patterns 1243, 4123, 4213.
0
1, 2, 6, 21, 75, 262, 890, 2949, 9575, 30590, 96486, 301269, 933171, 2872102, 8794946, 26822901, 81539855, 247232702, 748061070, 2259653349, 6816525435, 20540701510, 61842968906, 186063857829, 559486534391, 1681592864702
OFFSET
1,2
FORMULA
G.f.: A(x) = -{(4x^4+5x^3-12x^2+6x-1)x}/{(x-1)(3x-1)(2x-1)(x^2+2x-1)}
MATHEMATICA
LinearRecurrence[{8, -22, 22, -1, -6}, {1, 2, 6, 21, 75}, 40] (* Harvey P. Dale, Jul 25 2018 *)
CROSSREFS
Sequence in context: A294814 A116816 A116742 * A116806 A116736 A116820
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved