|
|
A294709
|
|
Number of permutations of [n] avoiding {2143, 3412, 1234}.
|
|
1
|
|
|
1, 1, 2, 6, 21, 69, 194, 470, 1009, 1969, 3562, 6062, 9813, 15237, 22842, 33230, 47105, 65281, 88690, 118390, 155573, 201573, 257874, 326118, 408113, 505841, 621466, 757342, 916021, 1100261, 1313034, 1557534, 1837185, 2155649, 2516834, 2924902, 3384277, 3899653, 4476002, 5118582
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1 - 5*x + 11*x^2 - 11*x^3 + 10*x^4 + 2*x^5) / (1 - x)^6.
a(n) = (1/60)*(60 + 16*n - 65*n^2 + 70*n^3 - 25*n^4 + 4*n^5).
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n>5.
(End)
|
|
MAPLE
|
cn := [1, -5, 11, -11, 10, 2] ;
p := add(cn[i]*x^(i-1), i=1..nops(cn)) ;
q := (1-x)^6 ;
taylor(p/q, x=0, 40) ;
gfun[seriestolist](%) ;
|
|
MATHEMATICA
|
LinearRecurrence[{6, -15, 20, -15, 6, -1}, {1, 1, 2, 6, 21, 69}, 40] (* Harvey P. Dale, Feb 26 2023 *)
|
|
PROG
|
(PARI) Vec((1 - 5*x + 11*x^2 - 11*x^3 + 10*x^4 + 2*x^5) / (1 - x)^6 + O(x^40)) \\ Colin Barker, Nov 10 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|