|
|
A294802
|
|
Number of permutations of [n] avoiding {3412, 3421, 1324}.
|
|
1
|
|
|
1, 1, 2, 6, 21, 73, 240, 744, 2192, 6192, 16896, 44800, 115968, 294144, 733184, 1800192, 4362240, 10448896, 24772608, 58195968, 135593984, 313589760, 720371712, 1644691456, 3733979136, 8433696768, 18958254080, 42429579264, 94573166592, 210000412672, 464661774336, 1024752353280, 2252978782208
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1 - x)^2*(1 - 5*x + 7*x^2 + x^3) / (1 - 2*x)^4.
a(n) = 2^(n-6)*(36 - 8*n + n^2 + n^3) for n>1.
a(n) = 8*a(n-1) - 24*a(n-2) + 32*a(n-3) - 16*a(n-4) for n>5.
(End)
|
|
MAPLE
|
(1 -x)^2*(1 -5*x +7*x^2 +x^3)/(1 -2*x)^4 ;
taylor(%, x=0, 40) ;
gfun[seriestolist](%) ;
|
|
PROG
|
(PARI) Vec((1 - x)^2*(1 - 5*x + 7*x^2 + x^3) / (1 - 2*x)^4 + O(x^30)) \\ Colin Barker, Nov 09 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|