The minimal recurrence order of bandwidth-eleven derangements
We prove that the numbers of permutations with 1 ≤ |π(i)−i| ≤ 11 have minimal homogeneous rational constant-coefficient recurrence order 353,740, even after deletion of an arbitrary finite prefix. A transfer operator gives the upper bound. Modulo 65,521, 707,480 terms determine a candidate denominator, and a truncated polynomial product and a Bézout identity certify its exact degree and coprimality.
Counting permutations in which each item moves between one and eleven places produces a very long recurrence. The certificate rules out every shorter recurrence, including one valid only after finitely many exceptions.
- verify.py sha256 8b0b2727920d…
- transfer.c sha256 69073569d447…
- terms.py sha256 2364bcb11f58…
- certificate.py sha256 9da9f84bb652…
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
The width-eleven instance only. Other widths have earlier results. Computational proof with independently checkable certificate; no complete Lean development.
The finite-dimensional upper bound {#the-finite-dimensional-upper-bound .unnumbered}
For a width \(k\), expose rows and columns of the permutation matrix together in increasing order. Immediately after cut \(j\), the unmatched rows and columns lie among the last \(k\) exposed positions. In their respective windows record their subsets \(U,V\subseteq[k]\). They have the same cardinality. At the next cut the new row may match one old free column or remain unmatched, and the new column may independently match one old free row or remain unmatched. Matching the two new endpoints to each other would fix their index. Any unmatched position about to leave its window must now be used. Each full matching gives exactly one walk from the empty pair back to itself, with partner choices recording the matching. Conversely a returning walk with these choices specifies a legal permutation.
Transposition interchanges \(U\) and \(V\) and preserves transitions with multiplicity. For each unordered pair, count transitions from one representative into each target orbit. These counts are independent of the representative. Thus the integer matrix \(T\) of orbit transitions has \(a_n=(T^n)_{ee}\) at the empty orbit \(e\). Vandermonde's identity counts \(\binom{2k}{k}\) ordered pairs, with \(2^k\) fixed under transposition. Hence $$d=\tfrac12\left[\binom{22}{11}+2^{11}\right]=353{,}740, \qquad F(x)=\sum_{n\ge0}a_nx^n=[(I-xT)^{-1}]_{ee}=A(x)/B(x),$$ where \(A,B\in\mathbb Z[x]\), \(B(0)=1\), \(\deg A<d\) and \(\deg B\le d\). Cayley--Hamilton gives an order-\(d\) recurrence from index zero. This upper bound is established for all symmetric bands by Alekseyev and Khomovsky. The certificate below resolves minimality for \(k=11\).
A row transfer for the finite certificate {#a-row-transfer-for-the-finite-certificate .unnumbered}
Before assigning row \(i\) with one-based indices, a mask marks occupied columns of \([i-k,i+k-1]\), with the oldest column in its lowest bit. Initially exactly the low \(k\) bits are set, representing the nonpositive columns. Append a free bit on the right, choose a free column other than the central one, insist the oldest column is now occupied, and shift right. This preserves the count of \(k\) occupied positions. Returning to the initial mask after \(n\) assignments forces exactly columns \(1,\ldots,n\) to have been used. This supplies a second walk interpretation with \(\binom{22}{11}=705{,}432\) masks.
For clarity, to compute a target \(v\) set \(H=2^{2k-1}\). If \(v\) has its high bit set, its only predecessor is \(2(v-H)+1\). Otherwise one predecessor is \(2v\); for every set bit \(j\) of \(v\), indexed from zero, with \(j\ne k-1\), there is one more predecessor \(2(v-2^j)+1\). Indeed the first case must choose the appended column. In the latter case the oldest bit was free and chosen, or else it was occupied and the newly occupied remaining bit is \(j\). Each contribution has weight one. Starting with unit mass at the initial mask and reducing modulo \(p=65{,}521\) gives \(S(x)=\sum_{n<2d}(a_n\bmod p)x^n\).
Excluding every smaller recurrence {#excluding-every-smaller-recurrence .unnumbered}
Over \(\mathbb F_p\) the accompanying coefficients give $$Q(0)=1,\quad\deg Q=d,\quad\deg P=d-22,\quad QS\equiv P\pmod{x^{2d}},\qquad UP+VQ=1 .$$ Here the last two identities are checked by integer multiplication. Each coefficient uses a seven-byte lane. The bound \(2(d+1)(p-1)^2<2^{56}\) prevents every carry, including in the sum of the two Bézout products. Berlekamp--Massey was used only to find \(Q\).
Reducing \(BF=A\) gives \(\bar B S\equiv\bar A\pmod{x^{2d}}\). Thus \(\bar A Q-\bar B P\) is divisible by \(x^{2d}\) and has degree at most \(2d-1\), so it vanishes. Coprimality forces \(Q\mid\bar B\). The degrees and constant terms give \(\bar B=Q\) and \(\bar A=P\). In particular \(B\) keeps degree \(d\) modulo \(p\). A common nonconstant factor of \(A,B\) over \(\mathbb Q\) has a primitive integer associate dividing both in \(\mathbb Z[x]\) by Gauss's lemma. Every factor of \(B\) keeps its degree modulo \(p\), because their degree sum is preserved. Hence such a common factor would contradict \(UP+VQ=1\). It follows that \(A/B\) is reduced in characteristic zero. An eventual recurrence of order \(r\) gives \(D(0)=1\), \(\deg D\le r\), and \(D F\in\mathbb Q[x]\). Then \(B\mid D\) and \(r\ge d\).
Prior results. The underlying OEIS table and width-ten entry record Kotěšovec's conjecture. See Alekseyev--Khomovsky, Theorem 5.2, Dexter's certificates for widths seven through nine, and the width-ten calculation. The result here concerns one additional width. The supplied verifier is a conventional exact computation.
Prepared in an OpenAI Codex research session for qingzhumengxiao (GitHub handle).
Files
content-addressed: the hash is the address| paper.pdf | 157 kB | sha256 a5d72ceb3713adec… .ots |
| verify.py | 3 kB | sha256 8b0b2727920d23bd… .ots |
| transfer.c | 3 kB | sha256 69073569d4478b20… .ots |
| terms.py | 2 kB | sha256 2364bcb11f5826fe… .ots |
| certificate.py | 2 kB | sha256 9da9f84bb6524415… .ots |
| terms-65521.txt | 4.6 MB | sha256 970993850efbd410… .ots |
| denominator-65521.txt | 2.3 MB | sha256 1f3588169f762b9f… .ots |
| bezout-u.txt | 2.0 MB | sha256 0c7568351c32f499… .ots |
| bezout-v.txt | 2.0 MB | sha256 b112dfbf096e284b… .ots |
| report-zh.pdf | 145 kB | sha256 a182bfb5ef6cb556… .ots |