ArticleslgStudy

science

Layered permutation

Layered permutation is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Layered permutation rather than just read about it. In short: 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.

Key takeaways

  • Layered permutation belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Layered permutation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Layered permutation from memory before moving on to harder problems.

Reference excerpt

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. 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.

Example 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 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 A layered permutation on the numbers from 1 {\displaystyle 1} to n {\displaystyle n} can be uniquely described by the subset of the numbers from 1 {\displaystyle 1} to n − 1 {\displaystyle n-1} that are the first element in a reversed block. (The number n {\displaystyle n} is always the first element in its reversed block, so it is redundant for this description.) Because there are 2 n − 1 {\displaystyle 2^{n-1}} subsets of the numbers from 1 {\displaystyle 1} to n − 1 {\displaystyle n-1} , there are also 2 n − 1 {\displaystyle 2^{n-1}} layered permutation of length n {\displaystyle n} . 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 2 n − 1 {\displaystyle 2^{n-1}} .

Superpatterns The shortest superpattern of the layered permutations of length n {\displaystyle n} is itself a layered permutation. Its length is a sorting number, the number of comparisons needed for binary insertion sort to sort n + 1 {\displaystyle n+1} elements. For n = 1 , 2 , 3 , … {\displaystyle n=1,2,3,\dots } 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

( n + 1 ) ⌈ log 2 ⁡ ( n + 1 ) ⌉ − 2 ⌈ log 2 ⁡ ( n + 1 ) ⌉ + 1. {\displaystyle (n+1){\bigl \lceil }\log _{2}(n+1){\bigr \rceil }-2^{\left\lceil \log _{2}(n+1)\right\rceil }+1.}

Related permutation classes Every layered permutation is an involution. They are exactly the 231-avoiding involutions, and they are also exactly the 312-avoiding involutions. 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

Worked examples

Example 1 — a first encounter with Layered permutation

Start with the simplest possible case. Write down what Layered permutation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Layered permutation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Layered permutation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Layered permutation

In research
Layered permutation appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Layered permutation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Layered permutation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Permutation patterns, so understanding it makes those chapters shorter.
In everyday life
Look for Layered permutation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Layered permutation” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Layered permutation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Layered permutation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Layered permutation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Layered permutation in simple terms?

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.

Why does Layered permutation matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Layered permutation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Layered permutation.

Tags

  • Permutation patterns

Keep exploring