arXiv++ Combinatorics

Browse math.CO papers from arXiv

An $\mathcal{O}(n)$ Space Construction of Superpermutations

Published: 2025-04-29 | Updated: 2025-05-16
Comments: 29 pages, 5 figures. Ancillary files include source code and README. GitHub repository: https://github.com/dajmera-24/Superpermutation-Algorithm

Abstract

A superpermutation is a sequence that contains every permutation of $n$ distinct symbols as a contiguous substring. For instance, a valid example for three symbols is a sequence that contains all six permutations. This paper introduces a new algorithm that constructs such sequences more efficiently than existing recursive and graph-theoretic methods. Unlike traditional techniques that suffer from scalability and factorial memory demands, the proposed approach builds superpermutations directly and compactly. This improves memory usage, enabling the construction of larger sequences previously considered impractical.

BibTeX

Loading...