Permutations generated by a depth 2 stack and an infinite stack in series are algebraic (Q2344818)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

scientific article; zbMATH DE number 6436278
Language Label Description Also known as
default for all languages
No label defined
    English
    Permutations generated by a depth 2 stack and an infinite stack in series are algebraic
    scientific article; zbMATH DE number 6436278

      Statements

      Permutations generated by a depth 2 stack and an infinite stack in series are algebraic (English)
      0 references
      0 references
      0 references
      0 references
      18 May 2015
      0 references
      Summary: We prove that the class of permutations generated by passing an ordered sequence \(12\ldots n\) through a stack of depth 2 and an infinite stack in series is in bijection with an unambiguous context-free language, where a permutation of length \(n\) is encoded by a string of length \(3n\). It follows that the sequence counting the number of permutations of each length has an algebraic generating function. We use the explicit context-free grammar to compute the generating function: \[ \sum_{n\geqslant 0} c_n t^n = \frac{(1+q)\bigg(1+5q-q^2-q^3-(1-q)\sqrt{(1-q^2)(1-4q-q^2)}\bigg)}{8q} \] where \(c_n\) is the number of permutations of length \(n\) that can be generated, and \(q \equiv q(t) = \frac{1-2t-\sqrt{1-4t}}{2t}\) is a simple variant of the Catalan generating function. This in turn implies that \(c_n^{1/n} \to 2+2\sqrt{5}\).
      0 references
      pattern avoiding permutation
      0 references
      algebraic generating function
      0 references
      context-free language
      0 references

      Identifiers