An asymptotically tight lower bound for superpatterns with small alphabets

A permutation σ ∈ Sn is a k-superpattern (or k-universal) if it contains each τ ∈ Sk as a pattern. This notion of “superpatterns” can be generalized to words on smaller alphabets, and several questions about superpatterns on small alphabets have recently been raised in the survey of Engen and Vatter. One of these questions concerned the length of the shortest k-superpattern on [k + 1]. A construction by Miller gave an upper bound of (k + k)/2, which we show is optimal up to lower-order terms. This implies a weaker version of a conjecture by Eriksson, Eriksson, Linusson and Wastlund. Our results also refute a 40-year-old conjecture of Gupta.