login
A116818
Number of permutations of length n which avoid the patterns 1234, 2341, 3421.
0
1, 2, 6, 21, 75, 248, 735, 1952, 4697, 10378, 21320, 41163, 75363, 131808, 221561, 359742, 566561, 868514, 1299754, 1903649, 2734539, 3859704, 5361555, 7340060, 9915417, 13230986, 17456492, 22791511, 29469251, 37760640, 47978733, 60483450, 75686657, 94057602
OFFSET
1,2
LINKS
David Callan and Toufik Mansour, Enumeration of small Wilf classes avoiding 1324 and two other 4-letter patterns, arXiv:1705.00933 [math.CO], 2017, Table 2 No 143.
FORMULA
G.f.: -x*(2*x^7-11*x^6+16*x^5-33*x^4+27*x^3-18*x^2+6*x-1)/(x-1)^8.
a(n) = (12*n^7 - 119*n^6 + 651*n^5 - 1505*n^4 + 693*n^3 + 6664*n^2 - 11436*n + 10080)/5040. - Franklin T. Adams-Watters, Sep 16 2006
MATHEMATICA
LinearRecurrence[{8, -28, 56, -70, 56, -28, 8, -1}, {1, 2, 6, 21, 75, 248, 735, 1952}, 40] (* Harvey P. Dale, Apr 01 2019 *)
CROSSREFS
Sequence in context: A383581 A150186 A150187 * A294770 A116763 A116840
KEYWORD
nonn,easy
AUTHOR
Lara Pudwell, Feb 26 2006
EXTENSIONS
More terms from Jason Yuen, Sep 18 2025
STATUS
approved