OFFSET
0,5
COMMENTS
Faro permutations are permutations avoiding the three consecutive patterns 231, 321 and 312. They are obtained by a perfect faro shuffle of two nondecreasing words of lengths differing by at most one.
LINKS
Jean-Luc Baril, Alexander Burstein, and Sergey Kirgizov, Pattern statistics in faro words and permutations, arXiv:2010.06270 [math.CO], 2020. See Table 1.
FORMULA
G.f.: x * (1+2*x) * (1-sqrt(1-4*x^2)) / ((1-2*x) * (1+sqrt(1-4*x^2))).
EXAMPLE
For n = 4, there are 6 faro permutations: 1234, 1243, 1324, 2134, 2143, 3142. They contain in total 4 consecutive patterns 123.
MATHEMATICA
Table[SeriesCoefficient[x*(1+2*x)*(1-Sqrt[1-4*x^2])/((1-2*x) * (1+Sqrt[1-4*x^2])), {x, 0, n}], {n, 0, 35}] (* Stefano Spezia, Jan 12 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Sergey Kirgizov, Jan 12 2021
STATUS
approved