|
|
A116709
|
|
Number of permutations of length n which avoid the patterns 2341, 4213.
|
|
1
|
|
|
1, 2, 6, 22, 86, 336, 1290, 4870, 18164, 67234, 247786, 911120, 3346618, 12286942, 45104548, 165573482, 607817410, 2231360192, 8191763970, 30074097062, 110410946820, 405353571346, 1488185247962, 5463619641904, 20058759689642, 73642362774478, 270365534734372
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -x*(2*x^4-7*x^3+12*x^2-6*x+1) / (2*x^5-10*x^4+25*x^3-22*x^2+8*x-1).
a(n) = 8*a(n-1) - 22*a(n-2) + 25*a(n-3) - 10*a(n-4) + 2*a(n-5) for n>5. - Colin Barker, Oct 20 2017
|
|
PROG
|
(PARI) Vec(x*(1 - 6*x + 12*x^2 - 7*x^3 + 2*x^4) / (1 - 8*x + 22*x^2 - 25*x^3 + 10*x^4 - 2*x^5) + O(x^30)) \\ Colin Barker, Oct 20 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|