cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A342853 Maximal number of 1324 patterns in a permutation of 1,2,...,n.

Original entry on oeis.org

0, 0, 0, 0, 1, 3, 6, 13, 24, 42, 68, 106, 153, 217, 300
Offset: 0

Views

Author

Peter Kagey, Mar 25 2021

Keywords

Comments

Equivalently the maximal number of 4231 patterns in a permutation of 1,2,...,n.

Examples

			For n = 5, the permutation 14325 has a(5) = 3 subsequences with the same relative order as 1324: 1435, 1425, and 1325.
All other permutations in S_5 have 3 or fewer such subsequences.
		

Crossrefs

Analogous for other patterns: A000292 (123), A000332 (1234), A061061 (132), A100354 (1432), A342646 (4213), A342854 (2413).

Extensions

a(11) from Code Golf Stack Exchange link added by Peter Kagey, Mar 25 2021
a(12)-a(14) from Hugo Pfoertner, Mar 26 2021