login
A116774
Number of permutations of length n which avoid the patterns 2143, 2341, 4312; or avoid the patterns 1234, 1432, 3412.
0
1, 2, 6, 21, 69, 198, 498, 1121, 2305, 4402, 7910, 13509, 22101, 34854, 53250, 79137, 114785, 162946, 226918, 310613, 418629, 556326, 729906, 946497, 1214241, 1542386, 1941382, 2422981, 3000341, 3688134
OFFSET
1,2
FORMULA
G.f.: A(x) = -{x(x^6-5x^5+13x^4-14x^3+13x^2-5x+1)}/{(x-1)^7}
a(n) = (n^6 - 3n^5 + 10n^4 - 15n^3 + 79n^2 - 72n + 180)/180. - Franklin T. Adams-Watters, Sep 16 2006
CROSSREFS
Sequence in context: A116842 A294708 A294709 * A116756 A116813 A116765
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
STATUS
approved