|
|
A165539
|
|
Number of permutations of length n which avoid the patterns 4213 and 3421.
|
|
1
|
|
|
1, 1, 2, 6, 22, 88, 367, 1571, 6861, 30468, 137229, 625573, 2881230, 13388094, 62688448, 295504025, 1401195334, 6678877732, 31984089193, 153809536017, 742462191363, 3596290278723, 17473993136316, 85147347832182, 415997039428899, 2037323575386383
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
G.f.: F = F(z) has minimal polynomial (z-3*z^2+2*z^3) - (1-5*z+8*z^2-5*z^3)*F + (2*z-5*z^2+4*z^3)*F^2 + z^3*F^3. - David Bevan, Jun 23 2014
|
|
EXAMPLE
|
There are 22 permutations of length 4 which avoid these two patterns, so a(4)=22.
|
|
MATHEMATICA
|
terms = 25;
F[_] = 0; Do[F[z_] = (z(1 - 3z + 2z^2 + z^2 F[z]^3 + (2 - 5z + 4z^2) F[z]^2 )) / (1 - 5z + 8z^2 - 5z^3) + O[z]^(terms+1), {terms+1}];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,changed
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|