In the mathematics of permutations, a layered permutation is a permutation that reverses contiguous blocks of elements. Equivalently, it is the direct sum of decreasing permutations.[1]

One of the earlier works establishing the significance of layered permutations was Bóna (1999), which established the Stanley–Wilf conjecture for classes of permutations forbidding a layered permutation, before the conjecture was proven more generally.[2]

Example

edit

For instance, the layered permutations of length four, with the reversed blocks separated by spaces, are the eight permutations

1 2 3 4
1 2 43
1 32 4
1 432
21 3 4
21 43
321 4
4321

Characterization by forbidden patterns

edit

The layered permutations can also be equivalently described as the permutations that do not contain the permutation patterns 231 or 312. That is, no three elements in the permutation (regardless of whether they are consecutive) have the same ordering as either of these forbidden triples.

Enumeration

edit

A layered permutation on the numbers from to can be uniquely described by the subset of the numbers from to that are the first element in a reversed block. (The number is always the first element in its reversed block, so it is redundant for this description.) Because there are subsets of the numbers from to , there are also layered permutation of length .

The layered permutations are Wilf equivalent to other permutation classes, meaning that the numbers of permutations of each length are the same. For instance, the Gilbreath permutations are counted by the same function .[3]

Superpatterns

edit

The shortest superpattern of the layered permutations of length is itself a layered permutation. Its length is a sorting number, the number of comparisons needed for binary insertion sort to sort elements.[1][4] For these numbers are

1, 3, 5, 8, 11, 14, 17, 21, 25, 29, 33, 37, ... (sequence A001855 in the OEIS)

and in general they are given by the formula

[1]
edit

Every layered permutation is an involution. They are exactly the 231-avoiding involutions, and they are also exactly the 312-avoiding involutions.[5]

The layered permutations are a subset of the stack-sortable permutations, which forbid the pattern 231 but not the pattern 312. Like the stack-sortable permutations, they are also a subset of the separable permutations, the permutations formed by recursive combinations of direct and skew sums.

References

edit
  1. ^ a b c Albert, Michael; Engen, Michael; Pantone, Jay; Vatter, Vincent (2018), "Universal layered permutations", Electronic Journal of Combinatorics, 25 (3): Article P3.23, 5 pp, arXiv:1710.04240, doi:10.37236/7386, MR 3853875
  2. ^ Bóna, Miklós (1999), "The solution of a conjecture of Stanley and Wilf for all layered patterns", Journal of Combinatorial Theory, Series A, 85 (1): 96–104, doi:10.1006/jcta.1998.2908, MR 1659444
  3. ^ Robertson, Aaron (2001), "Permutations restricted by two distinct patterns of length three", Advances in Applied Mathematics, 27 (2–3): 548–561, arXiv:math/0012029, doi:10.1006/aama.2001.0749, MR 1868980
  4. ^ Gray, Daniel (2015), "Bounds on superpatterns containing all layered permutations", Graphs and Combinatorics, 31 (4): 941–952, doi:10.1007/s00373-014-1429-x, MR 3357666
  5. ^ Egge, Eric S.; Mansour, Toufik (2004), "231-avoiding involutions and Fibonacci numbers", The Australasian Journal of Combinatorics, 30: 75–84, arXiv:math/0209255, MR 2080455

📚 Artikel Terkait di Wikipedia

CFOP method

CFOP stands for Cross, F2L (first 2 layers), OLL (Orientation of the Last Layer), PLL (Permutation of the Last Layer). It is one of the fastest methods

Permutation pattern

theoretical computer science, a (classical) permutation pattern is a sub-permutation of a longer permutation. Any permutation may be written in one-line notation

Graph neural network

ordering of their nodes, GNN architectures are commonly designed to be permutation equivariant: reordering the nodes in the input reorders the corresponding

Permutation group

mathematics, a permutation group is a group G whose elements are permutations of a given set M and whose group operation is the composition of permutations in G

Layered graph drawing

near-linear time implementation. The "dot" tool in Graphviz produces layered drawings. A layered graph drawing algorithm is also included in Microsoft Automatic

Permutation City

Permutation City is a 1994 science-fiction novel by Greg Egan that explores many concepts, including quantum ontology, through various philosophical aspects

Substitution–permutation network

In cryptography, an SP-network, or substitution–permutation network (SPN), is a series of linked mathematical operations used in block cipher algorithms

Rubik's Cube

Piece Series URU'L'UR'U'L, which is the same as the typical last layer corner permutation algorithm), and finally the last three corners. The fastest move