Permutation Wordle
Samuel A. Kutin, Lawren M. Smithline
TL;DR
The paper studies permutation Wordle, where the secret is a permutation $\sigma\in S_n$ and feedback reveals fixed points of $\sigma^{-1}\gamma$. It introduces the CircularShift strategy, proving that it solves exactly $A(n,k)$ permutations in $k+1$ rounds, with the average number of rounds for a random $\sigma$ equal to $(n+1)/2$, and conjectures its optimality. It then extends the problem to multicolor permutation Wordle, deriving analogous Eulerian-type counts via generating functions and recurrences, including the total round count $1+\mathrm{exc}(\sigma)+\sum_i \kappa(i)$ for colorings. The work connects Wordle-type permutation guessing to Eulerian numbers, higher-order Eulerian numbers, and $z$-excedances, and discusses links to Mastermind literature, highlighting average-case advantages and several open questions. Together, the results provide a natural combinatorial framework for permutation- and color-structured guessing games with precise enumerative characterizations.
Abstract
We introduce a guessing game, permutation Wordle, in which a guesser attempts to recover a hidden permutation in $S_n$. In each round, the guesser guesses a permutation (using information from previous rounds) and is told which entries of that permutation are correct. We describe a natural guessing strategy, which we believe to be optimal. We show that the number of permutations this strategy solves in $k+1$ rounds is the Eulerian number $A(n,k)$. We also describe an extension to suited permutations: the setter chooses a permutation in $S_n$ and also a coloring of $[n]$ using $s$ colors. We generalize our strategy, give a recurrence for the number of suited permutations solved in $k+1$ rounds, and relate these numbers to the Eulerian numbers. In the case of two suits, or signed permutations, we also relate these numbers to the Eulerian numbers of type B.
