login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A340569 Total number of consecutive triples matching the pattern 123 in all faro permutations of length n. 4
0, 0, 0, 1, 4, 10, 24, 53, 116, 246, 520, 1082, 2248, 4628, 9520, 19469, 39796, 81022, 164904, 334670, 679064, 1374924, 2783440, 5625666, 11368904, 22945820, 46307664, 93358228, 188202256, 379078952, 763506784, 1536708413, 3092806516, 6220970702, 12512656744, 25154958278 (list; graph; refs; listen; history; text; internal format)
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
A001405 counts faro permutations of length n.
Sequence in context: A280541 A080615 A173729 * A097976 A279851 A266367
KEYWORD
nonn
AUTHOR
Sergey Kirgizov, Jan 12 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)