The minimal recurrence for seven-column degree-constrained arrays (OEIS A296553)
For labelled seven-column triangular-lattice boards in which each occupied cell has three or six occupied neighbours, the generating function has reduced numerator degree 175 and denominator degree 176. A two-row boundary transfer graph yields a sparse integer annihilation certificate. Coprimality modulo 65521 proves that even an eventual homogeneous recurrence with constant rational coefficients must have order at least 176. The full coefficient lists, certificate and Lean source are attached.
Seven columns allow configurations that do not fit the narrower-strip classification. A finite boundary-state graph gives an exact recurrence and certifies that the count cannot obey a shorter one.
- SevenColumns.lean sha256 0473029c7b6a…
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.
3 documents
read it here or download it- paperPDF ↓
- report-zhPDF ↓
- source-and-verificationsource (.zip)
did not compile here
* \@mparswitchfalse * \@reversemarginfalse * (1in=72.27pt=25.4mm, 1cm=28.453pt) (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] \scratchcounter=\count290 \scratchdimen=\dimen177 \scratchbox=\box56 \nofMPsegments=\count291 \nofMParguments=\count292 \everyMPshowfont=\toks24 \MPscratchCnt=\count293 \MPscratchDim=\dimen178 \MPnumerator=\count294 \makeMPintoPDFobject=\count295 \everyMPtoPDFconversion=\toks25 ) Package hyperref Info: Link coloring ON on input line 6. \@outlinefile=\write3 \openout3 = `paper.out'. LaTeX Font Info: Trying to load font information for OT1+lmr on input line 14. (/usr/share/texmf/tex/latex/lm/ot1lmr.fd File: ot1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern ) LaTeX Font Info: Trying to load font information for OML+lmm on input line 14. (/usr/share/texmf/tex/latex/lm/omllmm.fd File: omllmm.fd 2015/05/01 v1.6.1 Font defs for Latin Modern ) LaTeX Font Info: Trying to load font information for OMS+lmsy on input line 14. (/usr/share/texmf/tex/latex/lm/omslmsy.fd File: omslmsy.fd 2015/05/01 v1.6.1 Font defs for Latin Modern ) LaTeX Font Info: Trying to load font information for OMX+lmex on input line 14. (/usr/share/texmf/tex/latex/lm/omxlmex.fd File: omxlmex.fd 2015/05/01 v1.6.1 Font defs for Latin Modern ) LaTeX Font Info: External font `lmex10' loaded for size (Font) <10.95> on input line 14. LaTeX Font Info: External font `lmex10' loaded for size (Font) <8> on input line 14. LaTeX Font Info: External font `lmex10' loaded for size (Font) <6> on input line 14. LaTeX Font Info: Trying to load font information for U+msa on input line 14. (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd File: umsa.fd 2013/01/14 v3.01 AMS symbols A ) LaTeX Font Info: Trying to load font information for U+msb on input line 14. (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd File: umsb.fd 2013/01/14 v3.01 AMS symbols B ) LaTeX Font Info: Trying to load font information for T1+lmss on input line 29. (/usr/share/texmf/tex/latex/lm/t1lmss.fd File: t1lmss.fd 2015/05/01 v1.6.1 Font defs for Latin Modern ) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} ] LaTeX Font Info: Trying to load font information for OT1+lmss on input line 39. (/usr/share/texmf/tex/latex/lm/ot1lmss.fd File: ot1lmss.fd 2015/05/01 v1.6.1 Font defs for Latin Modern ) [2] (./formal-en.tex LaTeX Font Info: Trying to load font information for T1+lmtt on input line 1. (/usr/share/texmf/tex/latex/lm/t1lmtt.fd File: t1lmtt.fd 2015/05/01 v1.6.1 Font defs for Latin Modern )) [3] LaTeX Font Info: Calculating math sizes for size <8.5> on input line 77. LaTeX Font Info: External font `lmex10' loaded for size (Font) <8.5> on input line 77. LaTeX Font Info: External font `lmex10' loaded for size (Font) <5.94997> on input line 77. LaTeX Font Info: External font `lmex10' loaded for size (Font) <4.25> on input line 77. ./paper.tex:77: I can't find file `coefficient-rows.tex'. \coefftable ...put\endcsname coefficient-rows.tex \bottomrule \end {tabular}... l.77 \coefftable (Press Enter to retry, or Control-D to exit) Please type another input file name ./paper.tex:77: Emergency stop. \coefftable ...put\endcsname coefficient-rows.tex \bottomrule \end {tabular}... l.77 \coefftable Here is how much of TeX's memory you used: 10806 strings out of 477975 164784 string characters out of 5839280 1866330 words of memory out of 5000000 30761 multiletter control sequences out of 15000+600000 588294 words of font info for 83 fonts, out of 8000000 for 9000 59 hyphenation exceptions out of 8191 80i,12n,79p,763b,441s stack positions out of 10000i,1000n,20000p,200000b,200000s ./paper.tex:77: ==> Fatal error occurred,
The seven-column enumeration is due to R. H. Hardin. This paper treats the explicit reduced generating function and minimum eventual recurrence order. The Lean certificates use native_decide for finite computations; the last step from modular coprimality to minimality is proved in the text.
Statement
Fix \(n\ge0\). Give an \(n\times7\) binary board integer coordinates \((r,j)\) with rows increasing downwards and columns \(0,\ldots,6\) increasing rightwards. The six allowed steps are \((\pm1,0),(0,\pm1),\pm(1,-1)\). Bits outside the board are zero. Each occupied cell must have three or six occupied neighbours. Empty cells impose no restriction. The count \(a_n\) distinguishes labelled boards and includes the empty board \(a_0=1\). The counts from height zero to nine are \(1,1,1,7,17,34,62,148,347,786\). R. H. Hardin published this model, initial values and a table through height 210. The parent two-parameter entry lists empirical recurrences through width six. Here we pose the width-seven problem of determining the least possible order among eventual constant-coefficient recurrences. \[Hardin, A296553\] \[Hardin, A296554\]
Theorem. Define \(P(x)=\sum_{i=0}^{175}p_i x^i\) and \(Q(x)=\sum_{i=0}^{176}q_i x^i\) by the accompanying coefficient table. Then$$ \sum_{n\ge0}a_nx^n=\frac{P(x)}{Q(x)},\qquad Q(0)=1,\qquad a_n=-\sum_{i=1}^{176}q_i a_{n-i}\quad(n\ge176). $$The fraction is reduced over \(\mathbb Q\) and 176 is minimal, even if the identity is required only for sufficiently large \(n\). The coefficients begin \(Q=1-x-4x^2+4x^3-5x^4-47x^5+67x^6+\cdots\) and end in \(32x^{176}\). Thus the coefficient of \(a_{n-176}\) is \(-32\). With Hardin’s positive-height convention the numerator is \(P-Q\) and the denominator is unchanged.
For example, the table gives \(p_3=6\) while \(q_1=-1,q_2=-4,q_3=4\). Solving the coefficient equation for \(a_3\) gives \(6-(-1-4+4)=7\). This illustrates how to generate the initial segment from the published coefficients alone.
From boards to a certificate for all heights
Write a row as a mask \(a=\sum_{j=0}^6 2^j a_j\). For three successive masks \(a,b,c\) let \(V(a,b,c)\) hold if, at each \(b_j=1\),$$ a_j+a_{j+1}+b_{j-1}+b_{j+1}+c_{j-1}+c_j\in\{3,6\}. $$Join \((a,b)\) to \((b,c)\) by a directed edge exactly when \(V(a,b,c)\) holds. Let \(o=(0,0)\). From the \(128^2\) possible states retain those reachable from \(o\) which can also reach \(o\). The resulting adjacency matrix \(M\) has 1,232 states and 2,416 edges. It has one entry for each edge, with the source indexing the row. Write \(e_s\) for the coordinate column of state \(s\).
Prepend two zero rows to a board and append two zero rows. Reading consecutive row pairs gives a walk from \(o\) to \(o\) of exactly \(n+2\) edges. The first and last middle rows are zero, and every original row is checked exactly once. Conversely the successive appended rows of such a walk recover the entire board, including all-white rows. Every state visited is both reachable and returnable. Hence$$ a_n=e_o^{\mathsf T} M^{n+2} e_o . $$This distinguishes the artificial boundary rows from ordinary white rows and also gives the correct count when \(n=0\).
Put \(R(t)=t^{176} Q(1/t)\) and \(s=(51,0)\). Using the attached table’s \(q_i\), exact integer arithmetic gives the sparse certificate$$ e_o^{\mathsf T} R(M)=32(e_o^{\mathsf T}-e_s^{\mathsf T}). $$Rows \(o\) and \(s\) of \(M\) are identical: in both cases the middle mask is zero, and the candidate successors are the same retained \((0,c)\). Multiplication on the right by \(M\) therefore gives \(e_o^{\mathsf T} M R(M)=0\). Multiplying by \(M^{n+1-176} e_o\), for \(n\ge176\), proves \(\sum_{i=0}^{176}q_i a_{n-i}=0\). The first 176 products \(\sum_{i=0}^{n}q_i a_{n-i}\) agree with \(p_n\). These two computations give \(Q(x)\sum a_nx^n=P(x)\) at every coefficient.
Why the order cannot drop
Modulo the prime \(65521\), the standard polynomial Euclidean algorithm on \(P,Q\) ends in a nonzero constant, so their gcd modulo this prime is one. Both leading coefficients (\(-32\) and \(32\)) survive reduction. A common nonconstant factor over \(\mathbb Q\) could be chosen primitive integral by Gauss’s lemma. Its leading coefficient divides both leading coefficients, so its degree would be preserved modulo \(65521\). This rules out such a factor. An eventual recurrence with rational coefficients corresponds to a nonzero polynomial \(B(x)\) with \(B(0)=1\) for which \(B(x)\sum a_nx^n\) is a polynomial. Then \(Q\mid BP\), hence \(Q\mid B\), forcing \(\deg B\ge176\).
Reproducing the finite calculations
All subscripts in the following algorithm start at zero. Arrays representing row vectors have one coordinate per retained state. The sparse transfer step sends the value at the tail of each edge to its head, adding values for repeated heads. This prescription and the coefficient table suffice to check the entire proof with integer arithmetic.
- For each \(a,b,c\in\{0,\ldots,127\}\) test \(V(a,b,c)\). Build forward and reverse adjacency lists. Run graph search from \(o\) in both lists, intersect the reached vertex sets and discard edges with an endpoint outside their intersection.
- Set \(u=e_o^{\mathsf T}\). For \(i=1,\ldots,176\) replace \(u\) by \(uM+q_i e_o^{\mathsf T}\). The result must have value \(32\) at \(o\), \(-32\) at \((51,0)\), and zero at every other state. Check that both nonzero coordinates have identical outgoing neighbour sets.
- Starting with \(v=e_o^{\mathsf T}\), iterate \(v\leftarrow vM\). Read its \(o\) coordinate after step \(n+2\) to obtain \(a_n\). For \(0\le n\le175\), check each convolution with \(q_0,\ldots,q_n\) against \(p_n\). Compute the gcd of the two coefficient arrays in \(\mathbb F_{65521}[x]\).
Independent lower-bound check. Use the same walk counts through \(n=350\) to form \(H_0=(a_{i+j})_{0\le i,j<176}\). Finite-field elimination gives$$ \det H_0\equiv1080\pmod{65521}. $$For \(H_t=(a_{t+i+j})\), the all-height recurrence shifts the columns by right multiplication with its companion matrix, whose determinant is \(32\). Hence \(\det H_t\equiv1080\cdot32^t\ne0\) at every offset. A recurrence of order below 176 holding eventually would make the 176 columns dependent over \(\mathbb Q\) at every sufficiently late offset, which would give integer determinant zero there.
Reproduction.
Run python -B verification/verify.py in the project directory. The verifier rebuilds the graph and checks the vector and numerator identities. The last nonzero remainder on dividing \(Q,P\) by the Euclidean algorithm modulo \(65521\) is \(49106\). Run python -B lean/independent.py for a separate modular Hankel calculation.
Lean verification.
In Lean 4.15.0, SevenColumns.recurrence proves the identity for every shift of the literal board count. It checks an integer identity on all 16,384 states using native_decide and extends it by linearity and induction. The theorem initialNumerator certifies the first 176 coefficients of \(Q\sum a_nx^n=P\); bezoutCertificate checks all 351 coefficients of \(UP+VQ=1\) modulo \(65521\) for explicit \(U,V\). The lifting and divisibility argument is given in Section 3. Run lean lean/SevenColumns.lean. The audit lists propext, Classical.choice, Lean.ofReduceBool and Quot.sound for the recurrence.
Research provenance.
The first 450 computed terms suggested a recurrence modulo each of the primes 65521, 65519 and 65497. We recovered the integer coefficients by the Chinese remainder theorem. The array counts are due to Hardin. Sequence Machine links them to the two-parameter table. We found no published order-176 recurrence in the sources checked. The minimal-order question here is our formulation. \[Hardin’s data\] \[Sequence Machine\]
Coefficient table
The columns give ascending-power coefficients of \(P,Q\). The final \(p_{176}=0\) is included for alignment. The recurrence uses the negatives of \(q_1,\ldots,q_{176}\). The accompanying recurrence.json lists all numerator and denominator coefficients in ascending powers, and the attached paper reproduces the complete integer table.
Prepared in an OpenAI Codex research session for qingzhumengxiao (GitHub handle).
Files
content-addressed: the hash is the address| paper.pdf | 281 kB | sha256 79e7297ebb087625… .ots |
| report-zh.pdf | 210 kB | sha256 edff51e25bb40d5b… .ots |
| recurrence.json | 5 kB | sha256 d19c054c3caca170… .ots |
| SevenColumns.lean | 16 kB | sha256 0473029c7b6a63fd… read .ots |
| lean-check.log | 351 B | sha256 d6953d36138794ff… .ots |
source-and-verification.zip19 files inside, 68 kB unpacked
| 35 kB | sha256 7b65fbe53beb33c5… .ots |