English

On a Greedy Algorithm to Construct Universal Cycles for Permutations

Combinatorics 2018-07-24 v2

Abstract

A universal cycle for permutations of length nn is a cyclic word or permutation, any factor of which is order-isomorphic to exactly one permutation of length nn, and containing all permutations of length nn as factors. It is well known that universal cycles for permutations of length nn exist. However, all known ways to construct such cycles are rather complicated. For example, in the original paper establishing the existence of the universal cycles, constructing such a cycle involves finding an Eulerian cycle in a certain graph and then dealing with partially ordered sets. In this paper, we offer a simple way to generate a universal cycle for permutations of length nn, which is based on applying a greedy algorithm to a permutation of length n1n-1. We prove that this approach gives a unique universal cycle Πn\Pi_n for permutations, and we study properties of Πn\Pi_n.

Keywords

Cite

@article{arxiv.1711.10820,
  title  = {On a Greedy Algorithm to Construct Universal Cycles for Permutations},
  author = {Alice L. L. Gao and Sergey Kitaev and Wolfgang Steiner and Philip B. Zhang},
  journal= {arXiv preprint arXiv:1711.10820},
  year   = {2018}
}
R2 v1 2026-06-22T23:00:49.029Z