|
|
A116703
|
|
Number of permutations of length n which avoid the patterns 231, 4123.
|
|
3
|
|
|
1, 2, 5, 13, 33, 82, 202, 497, 1224, 3017, 7439, 18343, 45228, 111514, 274945, 677894, 1671393, 4120937, 10160465, 25051354, 61765902, 152288233, 375477484, 925766477, 2282543187, 5627772815, 13875674756, 34211464510, 84350802705
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Also number of permutations of length n which avoid the patterns 312, 2341, 3412; or avoid the patterns 132, 1324, 3214, etc.
Except for the offset, this is the p-INVERT of (1,1,1,1,1,...) for p(S) = 1 - S - S^3; see A291000. - Clark Kimberling, Aug 24 2017
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -((2x^2-2x+1)x)/(3x^3-5x^2+4x-1).
Binomial transform of A000930 starting with offset 1: [1, 1, 2, 3, 4, 6, 9, ...]. - Gary W. Adamson, Oct 23 2007
|
|
MATHEMATICA
|
CoefficientList[Series[x*(1-2*x+2*x^2)/(1-4*x+5*x^2-3*x^3), {x, 0, 50}], x] (* G. C. Greubel, Apr 29 2017 *)
|
|
PROG
|
(PARI) x='x+O('x^50); Vec(x*(1-2*x+2*x^2)/(1-4*x+5*x^2-3*x^3)) \\ G. C. Greubel, Apr 29 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|