|
|
A116726
|
|
Number of permutations of length n which avoid the patterns 213, 1234, 2431.
|
|
0
|
|
|
1, 2, 5, 12, 26, 55, 113, 227, 449, 877, 1696, 3254, 6203, 11762, 22205, 41766, 78316, 146467, 273313, 509041, 946531, 1757541, 3259480, 6038576, 11176989, 20671462, 38204837, 70567516, 130275854, 240394475
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: A(x) = -(x^3-x+1)*x/((x-1)*(x^2+x-1)*(x^3+x^2+x-1)).
|
|
MATHEMATICA
|
CoefficientList[Series[-(x(x^3-x+1))/((x-1)(x^2+x-1)(x^3+x^2+x-1)), {x, 0, 50}], x] (* Stefano Spezia, Nov 29 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|