Cyclic shift's cubic-coefficient conjecture for deranged strategies

About 1 year old · traced to

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.

References

Primary source

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

Progress summary

Refreshed
Claimed solved

A reader-written argument claims the intended optimization is proved, but says the original strict statement is false because a reflected strategy performs equally well; neither claim has been independently verified.

The conjecture asks whether cyclic shifting always gives a larger cubic coefficient than every deranged strategy of length nn. Hiveley posed it in 2025, extending an earlier conjecture of Kutin and Smithline.

Known results

  • Hiveley (2025): computational support for deranged strategies through n=6n=6.
  • Hiveley (2025): the inequality [x3]fCS(x)>[x3]fS(x)[x^3]f_{CS}(x)>[x^3]f_S(x) is proved for inductively constructed strategies, not all deranged strategies.
  • A January 2026 paper proves a different property—cyclic shift avoids duplicated incorrect information—and does not establish the cubic-coefficient inequality.

Posted attempt

A reader-written argument claims a complete universal bound, with equality only for coherent rightward or leftward cyclic shift when n≥4n\ge4. It therefore corrects the printed strict conjecture: the two reflected strategies supposedly have identical generating functions, so the original strict inequality fails. The attempt has not been independently verified.

Current status (as of August 2026): The original strict conjecture is reportedly false by a symmetry-based equality case, while the corrected universal optimality theorem remains only an unverified claim.

Sources

Solutions 1

CounterexampleThis solution needs a summarySee full solutionHide full solution

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 m≥2m\ge 2. Let fS(x)f_S(x) count secret permutations by the number of guesses used. For every n≥3n\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 n≥4n\ge4, equality holds if and only if either

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

or

sm(i)=i−1(modm)for every 2≤m≤n.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 m≥3m\ge3 and consider a deranged secret on [m][m]. Since every position of the first guess is incorrect, the second guess is

δ=sm−1.\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 r≥2r\ge2. For each such subset II, there is exactly one possible third guess, namely the permutation πI\pi_I defined by

πI(j)=δ(j),j∉I,πI(isr(a))=δ(ia),1≤a≤r.(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 1≤a≤r1\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 2m−m−12^m-m-1 subsets of size at least two. Therefore

Cm(S)=2m−m−1−Bm(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

m−t(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 m−2m-2 such triples. No triple can contain two distinct two-cycles, so all these triples are different. Hence

Bm(S)≥(m−t)+t(m−2)=m+t(m−3)≥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)≤2m−2m−1(m≥3).(7)C_m(S)\le 2^m-2m-1 \qquad(m\ge3). \tag{7}

If m≥4m\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)(2m−2m−1)=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 r≥3r\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)=2m−2m−1C_m(CS)=2^m-2m-1

for every m≥3m\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 n≥4n\ge4 and equality holds in (8). All binomial weights in (1) are positive, so equality must hold separately in (7) for every 3≤m≤n3\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 m≥4m\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 i↦j=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 m≥4m\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 i↦n+1−ii\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.