|
|
A116708
|
|
Number of permutations of length n which avoid the patterns 2314, 4321.
|
|
1
|
|
|
1, 2, 6, 22, 86, 330, 1198, 4087, 13185, 40619, 120636, 348197, 983073, 2728722, 7475575, 20274288, 54558291, 145933414, 388520823, 1030601705, 2726043970, 7194657991, 18955376065, 49872709551, 131077883030, 344216450494, 903332924312, 2369406020786
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (13,-74,243,-510,715,-678,429,-173,40,-4).
|
|
FORMULA
|
G.f.: -x*(4*x^9-29*x^8+108*x^7-234*x^6+313*x^5-268*x^4+151*x^3-54*x^2+11*x-1) / ((x-1)^6*(2*x-1)^2*(x^2-3*x+1)).
|
|
PROG
|
(PARI) Vec((1 - 11*x + 54*x^2 - 151*x^3 + 268*x^4 - 313*x^5 + 234*x^6 - 108*x^7 + 29*x^8 - 4*x^9) / ((1 - x)^6*(1 - 2*x)^2*(1 - 3*x + x^2)) + O(x^30)) \\ Colin Barker, Oct 20 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,changed
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|