|
|
A116714
|
|
Number of permutations of length n that avoid the patterns 321, 1342, 4123.
|
|
1
|
|
|
1, 1, 2, 5, 12, 24, 46, 87, 162, 300, 554, 1021, 1880, 3460, 6366, 11711, 21542, 39624, 72882, 134053, 246564, 453504, 834126, 1534199, 2821834, 5190164, 9546202, 17558205, 32294576, 59398988, 109251774, 200945343, 369596110, 679793232, 1250334690, 2299724037
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (x^5 + 3*x^4 + x^3 - x+1)/((x-1)*(x^3 + x^2 + x - 1)).
|
|
MAPLE
|
if n = 1 then
1;
else
%/2 ;
end if;
end proc:
|
|
MATHEMATICA
|
LinearRecurrence[{2, 0, 0, -1}, {1, 1, 2, 5, 12, 24}, 50] (* Paolo Xausa, Jan 19 2024 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|