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”).

A116791
Number of permutations of length n which avoid the patterns 1234, 1342, 4312.
0
1, 2, 6, 21, 72, 220, 590, 1409, 3055, 6118, 11474, 20373, 34542, 56304, 88714, 135713, 202301, 294730, 420718, 589685, 813012, 1104324, 1479798, 1958497, 2562731, 3318446, 4255642, 5408821, 6817466, 8526552
OFFSET
1,2
FORMULA
G.f.: A(x) = -{(x^7-6x^6+20x^5-30x^4+27x^3-18x^2+6x-1)x}/{(x-1)^8}
a(n) = (n^7 + 35n^6 - 203n^5 + 665n^4 - 686n^3 + 1820n^2 - 1632n + 5040)/5040. - Franklin T. Adams-Watters, Sep 16 2006
CROSSREFS
Sequence in context: A294753 A294754 A116750 * A116775 A116786 A116748
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved