|
|
A116712
|
|
Number of permutations of length n which avoid the patterns 231, 3214, 4312.
|
|
1
|
|
|
1, 2, 5, 12, 27, 59, 126, 265, 551, 1136, 2327, 4743, 9630, 19493, 39363, 79336, 159659, 320915, 644414, 1293009, 2592783, 5196512, 10410735, 20850127, 41746622, 83568269, 167257931, 334712280, 669742371, 1339998971
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: A(x) = (x^3-x+1)*x/((2*x-1)*(x^2+x-1)).
|
|
MATHEMATICA
|
CoefficientList[Series[(x^3-x+1)/((2*x-1)*(x^2+x-1)), {x, 0, 50}], x] (* Stefano Spezia, Nov 29 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|