TOPICS
Search

Superpermutation


A superpermutation on n distinct symbols is a string that contains every one of the n! permutations of those symbols as a contiguous substring, where n is a positive integer. A shortest superpermutation has minimum length among all such strings.

For example, the literal strings 1, 121, and 123121321 are shortest superpermutations on one, two, and three symbols, respectively. The last contains the six permutations 123, 231, 312, 213, 132, and 321 as contiguous substrings. A shortest superpermutation on four symbols is

 123412314231243121342132413214321,

which has length 33. The minimum lengths begin 1, 3, 9, 33, 153, ... (OEIS A180632; Honner 2019).

A recursive construction gives superpermutations of length

 1!+2!+...+n!.

Houston (2014) refuted the conjecture that this length is minimal for every positive integer n by finding a shorter superpermutation for n=6.


See also

Permutation, String

Explore with Wolfram|Alpha

References

Honner, P. "Unscrambling the Hidden Secrets of Superpermutations." Quanta Mag. Jan. 16, 2019. https://www.quantamagazine.org/unscrambling-the-hidden-secrets-of-superpermutations-20190116/.Houston, R. "Tackling the Minimal Superpermutation Problem." 21 Aug 2014. https://arxiv.org/abs/1408.5108.Numberphile. "Superpermutations." Jan. 29, 2018. https://www.youtube.com/watch?v=wJGE4aEWc28.Sloane, N. J. A. Sequence A180632 in "The On-Line Encyclopedia of Integer Sequences."

Cite this as:

Weisstein, Eric W. "Superpermutation." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Superpermutation.html

Subject classifications