# Minimal recurrence orders for fixed-defect rook placements on four cyclic diagonals

iis:2612.00724 · by qingzhumengxiao-math · https://isitsolved.com/journal/40f9cfc840e2

**Abstract.** On the cyclic board with allowed columns i,i+1,i+2,i+3 in row i, we derive the least eventual recurrence order for placements of n−d nonattacking rooks at every fixed d ≥ 0. The reduced denominator is (1−x)^(d+1)(1−x−x²−x³)^(2d+1), giving order 7d+4. An eight-state transfer and exact pole-order calculations also yield the proposed formula for A005777 at d=1.

The known bivariate formula already permits extraction of A005777. The sharpened statement gives the reduced denominator and a proof of minimality for every fixed defect. Lean verifies the polynomial determinant calculation.

::: center
**Minimal Recurrences for Fixed-Deficit Rook Numbers\
on Four Cyclic Diagonals**
:::

# The board and its transfer matrix

For $n\ge1$, index both rows and columns by $\mathbb Z/n\mathbb Z$, allowing positions $(i,i+j)$ with $0\le j\le3$. Positions that coincide modulo $n$ count once. Let $a_d(n)$ count placements of $n-d$ nonattacking rooks, with $a_d(n)=0$ if $d>n$. Equivalently, this is the matching count in the corresponding bipartite graph with $d$ uncovered vertices on either side. Write $F_d(x)=\sum_{n\ge1} a_d(n)x^n$.

::: theorem
**Theorem 1**. *The reduced denominator of $F_d(x)$, normalized to have constant term one, is $$(1-x)^{d+1}(1-x-x^2-x^3)^{2d+1}.$$ In particular $a_d(n)$ has minimal eventual homogeneous constant-coefficient recurrence order $7d+4$ over $\mathbb Q$.*
:::

Before row $i$ is processed on the infinite periodic lift, a mask $m\in\{0,\ldots,7\}$ records which of columns $i,i+1,i+2$ are already occupied. No previous row can occupy column $i+3$. To construct $A$, begin with an $8\times8$ zero matrix. For every $j\in\{0,1,2,3\}$ for which bit $j$ of $m$ is zero, add one to entry $A_{m,\lfloor(m+2^j)/2\rfloor}$. Let $D_{m,t}$ be one for $t=\lfloor m/2\rfloor$ and zero otherwise.

::: lemma
**Lemma 1**. *For $n\ge4$, $\displaystyle a_d(n)=[u^d]\mathop{\mathrm{tr}}\bigl((A+uD)^n\bigr)$.*
:::

::: proof
*Proof.* The circular board placement has a unique offset for every occupied row because $n\ge4$. Its period-$n$ lift defines a closed labelled transition sequence whose start is fixed at row zero. An empty row contributes $u$. Conversely, repeat a closed transition sequence periodically. After three transitions every bit present in the initial mask has shifted out, so every current bit records exactly a choice from the preceding rows. The availability check forbids duplicate columns in the lifted configuration. Periodicity then forbids duplicate columns modulo $n$, since colliding choices can be translated by a suitable multiple of $n$. This reconstruction is inverse to reading the offsets. ◻
:::

# The poles at fixed deficit

Put $T=1-x-x^2-x^3$, $B=x^5+x^4+4x^3-x-1$, and $M=A+uD$. Laplace expansion of the preceding matrix gives $$H=\det(I-xM)=(1-x)^2T^2-x(x-1)B u+x^4u^2 .$$ The companion Lean file independently checks the integer coefficients of the expansion. Jacobi's determinant formula gives $$\sum_{n\ge1} x^n\mathop{\mathrm{tr}}M^n=-x\frac{\partial_x H}{H}.$$ This transfer series can differ from the board series only through degrees $1,2,3$. For $d=0$ the expression is the logarithmic derivative of $(1-x)^2T^2$, multiplied by $-x$. Both factors have simple zeros, with $T(1)=-2$, so the reduced denominator is $(1-x)T$.

For $d\ge1$ put $H_0=(1-x)^2T^2$, $b=-x(x-1)B/H_0$, $c=x^4/H_0$, and $L_d=[u^d]\log(1+bu+cu^2)$. Up to a polynomial, $F_d=-x L_d'$. The formal logarithm here is expanded in $u$, so $L_d$ is a finite rational expression.

The cubic $T$ is irreducible over $\mathbb Q$ by the rational root test and has simple roots in characteristic zero. It is relatively prime to $B$, since $B\bmod(-T)=-2x^2-4x+2$. At any root of $T$, both $b$ and $c$ have pole order two. The term $(-1)^{d+1}b^d/d$ in $L_d$ has order $2d$, whereas each use of $cu^2$ reduces the number of factors and hence gives order at most $2d-2$. The derivative increases the pole order to $2d+1$ and the root is nonzero.

At $x=1$, put $h=x-1$. Then $hb\longrightarrow -1$ and $h^2c\longrightarrow 1/4$. By finite coefficient extraction, $$\lim_{h\to0}h^d L_d
 =[v^d]\log(1-v+v^2/4)
 =[v^d]2\log(1-v/2)=-\frac{2}{d2^d}.$$ The derivative therefore has a pole of order $d+1$ here. These are all possible finite poles. Clearing the resulting denominator gives an eventual recurrence. Conversely, the reversed characteristic polynomial of any eventual recurrence times $F_d$ must be a polynomial, so it must be divisible by the reduced denominator. This proves the theorem.

# The first subdiagonal

For $d=1$ the transfer series is $-xb'(x)$, with first three coefficients $1,8,33$. For $n=1,2,3$ the ordinary board is full. Choosing the unused row and column and permuting the other columns gives $n^2(n-1)!$, namely $1,4,18$. Thus $$F_1=-xb'(x)-4x^2-15x^3
 =x+4x^2-15x^3+\frac{x^3N(x)}{(1-x)^2 T(x)^3},$$ where $$\begin{align*}
 N(x)={}&33-69x+16x^2-14x^3+82x^4-8x^5\\
        &{}-20x^6-38x^7+9x^8+9x^9+8x^{10}.
\end{align*}$$ This is the conjecture of V. Kotešovec recorded on 27 August 2016. Whitehead proved a bivariate generating function for all rook polynomials of this board and studied the leading diagonal; the displayed formula is therefore also a specialization of earlier general machinery. Zeilberger later gave an automated approach to discordant permutations. The argument above determines and proves the minimal pole orders on every fixed subdiagonal.

#### Verification.

The Python script reconstructs both matrices from the offsets, checks the determinant and the $d=1$ formula symbolically, and compares all deficits against direct board enumeration for $4\le n\le10$. Lean 4.33.1 checks the signed determinant expansion through the kernel, with `propext` as its only reported axiom. The combinatorial bijection and the pole argument are proved in the text.

::: thebibliography
9 E. G. Whitehead, Jr., *Four-discordant permutations*, J. Austral. Math. Soc. Ser. A **28** (1979), 369--377. [doi:10.1017/S1446788700012337](https://doi.org/10.1017/S1446788700012337). D. Zeilberger, *Automatic Enumeration of Generalized Ménage Numbers*. [Author's paper and computational material](https://sites.math.rutgers.edu/~zeilberg/mamarim/mamarimhtml/menages.html). OEIS Foundation, [A005777](https://oeis.org/A005777) and [A259985](https://oeis.org/A259985).
:::

Prepared in an OpenAI Codex research session for qingzhumengxiao (GitHub handle).
