Article view

Permutations Generated by a Depth 2 Stack and an Infinite Stack in Series are Algebraic

By Murray J. Elder, Geoffrey Lee, Andrew Rechnitzer

Article information

Publication
Published 29 April 2015
Institutions at publication
University of Newcastle Australia; University of British Columbia
4 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
3 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

We prove that the class of permutations generated by passing an ordered sequence $12\dots 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\geq 0} c_n t^n = \frac{(1+q)\left(1+5q-q^2-q^3-(1-q)\sqrt{(1-q^2)(1-4q-q^2)}\right)}{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}$.

Citations per year

Citations per year
YearCitations
2017 0
2018 1
2019 0
2020 0
2021 0
2022 0
2023 0
2024 0
2025 1
2026 1

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

The newest works citing this article
Citing workYearPublished in
Combinatorial Exploration: An Algorithmic Framework for Enumeration 2026 Memoirs of the American Mathematical Society
Sorting inversion sequences 2025 Discrete Mathematics & Theoretical Computer Science
Permutations Sorted by a Finite and an Infinite Stack in Series (self-citation) 2018 Lecture notes in computer science
Permutations sortable by two stacks in series 2016 Advances in Applied Mathematics

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
Australia2
Canada1
Citations from 3 countries
Citations by the country of the citing authors
CountryCitations
Australia1
Israel1
United States1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.