Cyclic shift's cubic-coefficient conjecture for deranged strategies

From papers

Let fCS(x)f_{CS}(x) be the generating function for the cyclic shift strategy of length nn, and let fS(x)f_S(x) be the generating function for a deranged strategy SS, meaning a strategy with no fixed positions. For every strategy length nn, compare the coefficient of x3x^3 in these generating functions. Cyclic shift's cubic-coefficient conjecture. For all strategy lengths nn and all deranged strategies SS, one has

[x3]fCS(x)>[x3]fS(x).[x^3]f_{CS}(x)>[x^3]f_S(x).

The claim concerns the cubic coefficient of the generating function, which records the relevant three-guess behaviour of a strategy. The source presents it in a conjecture environment but supplies no evidence of resolution; its status is therefore open.

Progress summary

Open

The conjecture remains open: small computer tests support it, and a weaker version is proved for a restricted class of strategies.

Aurora Hiveley’s 2025 paper conjectures that cyclic shift has a strictly larger cubic coefficient than every deranged strategy at every length: [x3]fCS(x)>[x3]fS(x)[x^3]f_{CS}(x)>[x^3]f_S(x).

Known results

  • Hiveley (2025) reports computational support through n6n\le 6.
  • Hiveley (2025), Theorem 4.3, proves the inequality for every inductively constructed strategy.
  • Within that restricted class, the result is also proved for games terminating in exactly three guesses.

2025 conjecture and subsequent scan

The paper explicitly leaves the extension from inductively constructed strategies to all deranged strategies as future work. A later permutation-Wordle paper does not report a proof, counterexample, or claimed resolution.

Current status (as of August 2026): The conjecture is supported computationally through n6n\le 6 and proved for inductively constructed strategies, but the universal deranged-strategy statement remains open.

Sources
Sources & referencesView supporting material

Primary source

Aurora Hiveley, “Experimenting with Permutation Wordle”, arXiv:2506.23452 (2025).

Solutions 1

Counterexample

Cyclic shifting maximizes the cubic coefficient among all deranged strategies

Problem: MathDB #369086, Aurora Hiveley, Experimenting with Permutation Wordle, Journal of Integer Sequences 29 (2026), Article 26.1.7, Conjecture 6; originally Conjecture 4.2 in arXiv:2506.23452v2.

Status: The intended optimization statement is proved for every deranged strategy. The printed strict inequality requires one unavoidable correction: coherent rightward and coherent leftward cyclic shifting are distinct strategies with identical performance. The source itself explicitly recognizes both directions, so this elementary reflection is not claimed as new. The substantive result is the complete universal optimality theorem and the classification of all equality cases, extending the source's theorem for inductively constructed strategies.

Hiveley's subsequent Repetition in Permutation Wordle, Discrete Mathematics Letters 17 (2026), 93–100, DOI 10.47443/dml.2026.112, studies when strategies repeat incorrect information. Although its introduction informally describes three-guess optimality, the earlier quantitative theorem concerns inductively constructed competitors, and the subsequent paper does not prove the universal cubic-coefficient result established here.

Theorem

Let S=(s1,,sn)S=(s_1,\ldots,s_n) be any strategy for permutation Wordle such that sms_m is a derangement of [m][m] whenever m2m\ge 2. Let fS(x)f_S(x) count secret permutations by the number of guesses used. For every n3n\ge 3,

[x3]fS(x)A(n,2)=3n(n+1)2n+(n+12),[x^3]f_S(x) \le A(n,2) =3^n-(n+1)2^n+\binom{n+1}{2},

where A(n,2)A(n,2) is the Eulerian number. If n4n\ge4, equality holds if and only if either

sm(i)=i+1(modm)for every 2mn,s_m(i)=i+1\pmod m \quad\text{for every }2\le m\le n,

or

sm(i)=i1(modm)for every 2mn.s_m(i)=i-1\pmod m \quad\text{for every }2\le m\le n.

The two maximizing strategies are therefore exactly coherent rightward and coherent leftward cyclic shift. In particular, the rightward strategy is strictly better than every deranged strategy other than itself and its reflected leftward counterpart.

Throughout, cyclic expressions on [m]={1,,m}[m]=\{1,\ldots,m\} are interpreted modulo mm with representatives in [m][m].

1. Reduction to deranged secrets

The first guess is the identity permutation. If its incorrect positions form a set U[n]U\subseteq[n] of size mm, the secret restricted to UU, after increasing-order relabeling, is a derangement of [m][m]. The strategy acts on these positions through the same components s2,,sms_2,\ldots,s_m and leaves the other positions fixed.

Write Cm(S)C_m(S) for the number of derangements of [m][m] whose games end on the third guess. A game with precisely two initially incorrect positions ends on the second guess, because s2=(2,1)s_2=(2,1). Consequently C2(S)=0C_2(S)=0 and

[x3]fS(x)=m=3n(nm)Cm(S).(1)[x^3]f_S(x) =\sum_{m=3}^{n}\binom{n}{m}C_m(S). \tag{1}

The sum deliberately begins at m=3m=3: the bounds below do not hold at m=2m=2.

2. Candidate secrets are indexed by subsets

Fix m3m\ge3 and consider a deranged secret on [m][m]. Since every position of the first guess is incorrect, the second guess is

δ=sm1.\delta=s_m^{-1}.

Suppose that the set of incorrect positions after the second guess is

I={i1<<ir}[m].I=\{i_1<\cdots<i_r\}\subseteq[m].

A game ending on its third guess must have r2r\ge2. For each such subset II, there is exactly one possible third guess, namely the permutation πI\pi_I defined by

πI(j)=δ(j),jI,πI(isr(a))=δ(ia),1ar.(2)\begin{aligned} \pi_I(j)&=\delta(j), &&j\notin I,\\ \pi_I\bigl(i_{s_r(a)}\bigr)&=\delta(i_a), &&1\le a\le r. \end{aligned} \tag{2}

Since srs_r is a derangement and δ\delta is injective, the positions where πI\pi_I differs from δ\delta are exactly II. Hence πI\pi_I is the secret of a game ending on the third guess if and only if πI\pi_I is also a derangement relative to the first guess.

Call II bad when πI\pi_I has a fixed point. Equation (2) shows that this happens precisely when, for some 1ar1\le a\le r,

sm(isr(a))=ia.(3)s_m\bigl(i_{s_r(a)}\bigr)=i_a. \tag{3}

In graph language, a subset is bad when a directed edge of sms_m runs opposite to a directed edge of the permutation srs_r acting on the increasing-order ranks in II.

There are 2mm12^m-m-1 subsets of size at least two. Therefore

Cm(S)=2mm1Bm(S),(4)C_m(S)=2^m-m-1-B_m(S), \tag{4}

where Bm(S)B_m(S) denotes the number of bad subsets.

3. At least mm subsets are bad

Let tt be the number of two-cycles in the disjoint-cycle decomposition of sms_m. Because s2s_2 swaps its two positions, every unordered pair

{i,sm(i)}\{i,s_m(i)\}

is bad. A cycle of length at least three contributes one distinct pair for each of its vertices, while a two-cycle contributes one pair for both vertices. Thus there are exactly

mt(5)m-t \tag{5}

bad two-element subsets.

Every three-element subset containing both vertices of a two-cycle is also bad. Indeed, either possible derangement s3s_3 is a directed three-cycle, so one of its directed edges, in the appropriate reverse direction, joins those two vertices. Since sms_m contains both directed orientations of that edge, condition (3) holds.

For each of the tt two-cycles there are m2m-2 such triples. No triple can contain two distinct two-cycles, so all these triples are different. Hence

Bm(S)(mt)+t(m2)=m+t(m3)m.(6)B_m(S) \ge (m-t)+t(m-2) =m+t(m-3) \ge m. \tag{6}

Combining (4) and (6) proves the universal local bound

Cm(S)2m2m1(m3).(7)C_m(S)\le 2^m-2m-1 \qquad(m\ge3). \tag{7}

If m4m\ge4 and sms_m contains any two-cycle, inequality (7) is strict.

4. Evaluation of the global bound

Substituting (7) into (1) gives

[x3]fS(x)m=3n(nm)(2m2m1)=3n(n+1)2n+n+(n2)=3n(n+1)2n+(n+12)=A(n,2).(8)\begin{aligned} [x^3]f_S(x) &\le \sum_{m=3}^n\binom{n}{m}\bigl(2^m-2m-1\bigr)\\ &= 3^n-(n+1)2^n+n+\binom n2\\ &= 3^n-(n+1)2^n+\binom{n+1}{2}\\ &=A(n,2). \end{aligned} \tag{8}

For the rightward cyclic strategy, write cm(i)=i+1(modm)c_m(i)=i+1\pmod m. A two-element subset is bad exactly when its elements are consecutive in cyclic order, giving exactly mm bad pairs. No subset of size r3r\ge3 is bad: condition (3) would say that the immediate cyclic successor of some element of [m][m] is simultaneously its predecessor among the rr selected elements, which is impossible when at least three elements are selected.

Therefore

Cm(CS)=2m2m1C_m(CS)=2^m-2m-1

for every m3m\ge3, and equality holds in (8). The same argument with the cyclic order reversed applies to coherent leftward shifting.

5. Classification of all equality cases

Assume n4n\ge4 and equality holds in (8). All binomial weights in (1) are positive, so equality must hold separately in (7) for every 3mn3\le m\le n.

The component s3s_3 is necessarily one of the two directed three-cycles. First suppose

s3=(2,3,1).s_3=(2,3,1).

Fix any m4m\ge4. By (6), equality forces sms_m to have no two-cycles. Its mm bad pairs already exhaust the permissible mm bad subsets, so no triple may be bad.

Consider a directed edge ij=sm(i)i\mapsto j=s_m(i). If jj is not the immediate cyclic successor of ii in

1,2,,m,1,1,2,\ldots,m,1,

there exists a vertex kk strictly between ii and jj in that cyclic order. Within the triple {i,k,j}\{i,k,j\}, the vertex jj is the cyclic predecessor of ii. Since s3s_3 acts by cyclic succession on the increasing-order ranks, this is exactly condition (3). The triple would therefore be bad, a contradiction.

Thus j=i+1(modm)j=i+1\pmod m for every ii, and consequently

sm=(2,3,,m,1).s_m=(2,3,\ldots,m,1).

This argument applies independently to every m4m\ge4. Together with s2=(2,1)s_2=(2,1) and the prescribed choice of s3s_3, it proves that the entire strategy is coherent rightward cyclic shift.

If instead

s3=(3,1,2),s_3=(3,1,2),

reverse the cyclic order in the same argument. Every edge of every sms_m must then point to the immediate cyclic predecessor, so the whole strategy is coherent leftward cyclic shift.

Finally, reflecting positions and values by in+1ii\mapsto n+1-i conjugates the entire rightward game to the leftward game. In particular, their complete generating functions agree:

fright(x)=fleft(x).f_{\mathrm{right}}(x)=f_{\mathrm{left}}(x).

The source already acknowledges the leftward analogue, so this reflection is an inherent correction to its printed strict comparison, not a new counterexample. The new content is the proof that no other deranged strategy can match or exceed cyclic shifting at the three-guess horizon.

0 endorsements
Shivam Patel ·