Exact recurrences for four-colour strips with directed diagonal rules

How does the choice of diagonal rules change the number of four-colour arrays as a strip grows? In these strips, every consecutive triple in a given direction must use an allowed number of distinct colours. The array may use up to four colours, and arrays related by one global relabelling count as the same array. For each fixed dimension from 3 to 9 cells, the results establish Hardin's signed recurrences, determine the first index from which each recurrence holds throughout the tail, and give its least eventual order. They also confirm all 24 of Barker's proposed generating functions in the three families. For the first family, horizontal and vertical triples use exactly two colours, while down-right and up-right triples use one or three. Hardin's seven empirical recurrences hold at fixed widths 3 through 9, covering A252688–A252694. Barker's six rational generating functions for A252689–A252694 are exact. OEIS A252695, FORMULA for k = 1–7 and linked companions Reversing the allowed colour counts in every direction gives the second family. Horizontal and vertical triples now use one or three colours, and both diagonal directions use exactly two. All seven recurrences for A253018–A253024 hold with nonzero coefficients only at lags divisible by three. Barker's four rational functions for A253018–A253021 are exact. At each of the seven widths, the reachable transfer graph has exactly six strongly connected components containing directed cycles, each of period three. OEIS A253025, FORMULA for k = 1–7 and linked companions In the asymmetric family, horizontal and down-right triples use exactly two colours, and vertical and up-right triples use one or three. Fixing the number of columns gives the seven recurrences and generating functions in A252712–A252718. Fixing the number of rows gives the seven in A252720–A252726. To compute the latter with a transfer that appends rows, transpose the array. The horizontal and vertical rules exchange places. Both diagonal rules retain their allowed counts because reversing the order of a triple preserves its number of distinct colours. All fourteen signed recurrences and Barker fractions hold for their respective axes. OEIS A252719, FORMULA for both fixed axes and linked companions Write \(a(n)\) for the count when the varying dimension has \(n+2\) cells, with \(n\ge1\). Each table entry gives \((D,N)\), where \(D\) is the least order of any homogeneous constant-coefficient recurrence on any eventual tail, and \(N\) is the sharp onset of the stated signed recurrence \(a(n)=\sum_{j=1}^{D}c_j a(n-j)\). It holds for every \(n\ge N\) and fails at \(n=N-1\). Fixed dimension in cellsA252695 widthA253025 widthA252719 fixed columnsA252719 fixed rows3(13, 15)(3, 6)(9, 12)(13, 15)4(10, 12)(9, 12)(7, 10)(5, 9)5(9, 11)(12, 16)(4, 7)(5, 7)6(10, 12)(9, 13)(10, 13)(7, 9)7(9, 11)(18, 23)(10, 13)(7, 10)8(10, 12)(21, 28)(7, 10)(7, 10)9(9, 11)(15, 21)(15, 18)(7, 10) The same construction gives the exact counts for each rule. Enumerate three-row slabs of the chosen width, checking every triple that fits inside a slab against its own directional rule. Keep one representative per global relabelling by naming colours in order of first appearance. A transfer state records the equality pattern of the last two rows and the total number \(u\) of colours used anywhere so far. If the pair shows \(r\) colours and an allowed slab introduces \(s\) colour classes absent from that pair, the number of ways to make exactly \(j\) of those classes genuinely new is \[\binom{s}{j}(u-r)_{\underline{s-j}},\qquad 0\le j\le s,\quad s-j\le u-r,\quad u+j\le4. \] Here \((b)_{\underline m}\) is the falling factorial, with value 1 at \(m=0\). The binomial chooses the new classes, and the falling factorial assigns the remaining classes to distinct previously used colours that are absent from the pair. Name the new colours in order of first appearance in the appended row. The next state records the last two rows of the slab and the updated total \(u+j\). Let \(M\) sum these weights between states whose row pairs can start a legal slab. The initial row vector \(\ell\) gives weight 1 to each such state with \(u=r\) and 0 to the others. The column vector \(d\) sums all legal final appends from each state, including those that leave a pair with no further extension. Then \[a(n)=\ell M^{n-1}d\qquad(n\ge1). \] For A253025, the directed graph has an edge wherever a transfer weight is positive. Within each of its six reachable cyclic components, choose a root and let \(h(v)\) be the length of a directed path from that root to vertex \(v\) inside the component. The greatest common divisor of \(h(v)+1-h(v')\) over its edges \(v\to v'\) is 3, so each step advances the residue of \(h\) by one modulo three. This structure makes the nonzero eigenvalues of each component occur in triples \(\lambda,\omega\lambda,\omega^2\lambda\) with equal multiplicities, where \(\omega\) is a primitive cube root of unity. The exact recurrences specify how the three-step structure appears in the counts, including the width-dependent onset. To recover the full signed coefficients and ordinary generating function for any table entry, put \(b=N-D\) and form the \(D\)-by-\(D\) matrix \(H_{ij}=a(b+i+j)\) for \(0\le i,j<D\). The matrix is nonsingular in every listed case. The coefficients are the unique solution of \[H(c_D,\ldots,c_1)^{\mathsf T}=(a(N),\ldots,a(N+D-1))^{\mathsf T},\qquad Q(x)=1-\sum_{j=1}^{D}c_jx^j. \] The series \(\sum_{n\ge1}a(n)x^n\) is \(P(x)/Q(x)\), where \(P(x)\) is obtained by multiplying \(Q(x)\) by \(\sum_{n=1}^{N-1}a(n)x^n\) and discarding terms of degree \(N\) and higher. This gives the numerator for each individual strip, even when widths share a denominator. For A252695 the denominators at widths 4, 6 and 8 are \[(1-x)(1+x)(1-2x)(1-3x+x^2)(1-2x^2)(1-2x^3), \] and at widths 5, 7 and 9 they are \[(1-x)(1-2x)(1-x-x^2)(1-2x^2)(1-2x^3). \] For an exact check of a signed relation, set \(p(z)=z^D-\sum_{j=1}^{D}c_jz^{D-j}\) and \(R_e=M^ep(M)d\) for integers \(e\ge0\). The discrepancy at \(n=D+1+e\) is \(\ell R_e\). A zero vector guarantees zero discrepancies thereafter, as does a repeating vector cycle whose scalar discrepancies all vanish. The fixed-height-five A252719 strip exhibits the latter behaviour. It has \(\ell R_0=24\) at \(n=6\), then \(R_4=R_1\) with zero scalar discrepancy at all three positions in that cycle, giving the sharp onset \(n=7\). The listed orders, onsets, denominator patterns and period counts apply to the specified four-colour rules and fixed dimensions. Original problem sources. https://oeis.org/A252861 https://oeis.org/A252811 https://oeis.org/A253044

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-04
DOI
https://doi.org/10.5281/zenodo.24803110
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Exact recurrences for four-colour strips with directed diagonal rules

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Exact recurrences for four-colour strips with directed diagonal rules

Zixuan He
preprint en

Abstract

How does the choice of diagonal rules change the number of four-colour arrays as a strip grows? In these strips, every consecutive triple in a given direction must use an allowed number of distinct colours. The array may use up to four colours, and arrays related by one global relabelling count as the same array. For each fixed dimension from 3 to 9 cells, the results establish Hardin's signed recurrences, determine the first index from which each recurrence holds throughout the tail, and give its least eventual order. They also confirm all 24 of Barker's proposed generating functions in the three families. For the first family, horizontal and vertical triples use exactly two colours, while down-right and up-right triples use one or three. Hardin's seven empirical recurrences hold at fixed widths 3 through 9, covering A252688–A252694. Barker's six rational generating functions for A252689–A252694 are exact. OEIS A252695, FORMULA for k = 1–7 and linked companions Reversing the allowed colour counts in every direction gives the second family. Horizontal and vertical triples now use one or three colours, and both diagonal directions use exactly two. All seven recurrences for A253018–A253024 hold with nonzero coefficients only at lags divisible by three. Barker's four rational functions for A253018–A253021 are exact. At each of the seven widths, the reachable transfer graph has exactly six strongly connected components containing directed cycles, each of period three. OEIS A253025, FORMULA for k = 1–7 and linked companions In the asymmetric family, horizontal and down-right triples use exactly two colours, and vertical and up-right triples use one or three. Fixing the number of columns gives the seven recurrences and generating functions in A252712–A252718. Fixing the number of rows gives the seven in A252720–A252726. To compute the latter with a transfer that appends rows, transpose the array. The horizontal and vertical rules exchange places. Both diagonal rules retain their allowed counts because reversing the order of a triple preserves its number of distinct colours. All fourteen signed recurrences and Barker fractions hold for their respective axes. OEIS A252719, FORMULA for both fixed axes and linked companions Write \(a(n)\) for the count when the varying dimension has \(n+2\) cells, with \(n\ge1\). Each table entry gives \((D,N)\), where \(D\) is the least order of any homogeneous constant-coefficient recurrence on any eventual tail, and \(N\) is the sharp onset of the stated signed recurrence \(a(n)=\sum_{j=1}^{D}c_j a(n-j)\). It holds for every \(n\ge N\) and fails at \(n=N-1\). Fixed dimension in cellsA252695 widthA253025 widthA252719 fixed columnsA252719 fixed rows3(13, 15)(3, 6)(9, 12)(13, 15)4(10, 12)(9, 12)(7, 10)(5, 9)5(9, 11)(12, 16)(4, 7)(5, 7)6(10, 12)(9, 13)(10, 13)(7, 9)7(9, 11)(18, 23)(10, 13)(7, 10)8(10, 12)(21, 28)(7, 10)(7, 10)9(9, 11)(15, 21)(15, 18)(7, 10) The same construction gives the exact counts for each rule. Enumerate three-row slabs of the chosen width, checking every triple that fits inside a slab against its own directional rule. Keep one representative per global relabelling by naming colours in order of first appearance. A transfer state records the equality pattern of the last two rows and the total number \(u\) of colours used anywhere so far. If the pair shows \(r\) colours and an allowed slab introduces \(s\) colour classes absent from that pair, the number of ways to make exactly \(j\) of those classes genuinely new is \[\binom{s}{j}(u-r)_{\underline{s-j}},\qquad 0\le j\le s,\quad s-j\le u-r,\quad u+j\le4. \] Here \((b)_{\underline m}\) is the falling factorial, with value 1 at \(m=0\). The binomial chooses the new classes, and the falling factorial assigns the remaining classes to distinct previously used colours that are absent from the pair. Name the new colours in order of first appearance in the appended row. The next state records the last two rows of the slab and the updated total \(u+j\). Let \(M\) sum these weights between states whose row pairs can start a legal slab. The initial row vector \(\ell\) gives weight 1 to each such state with \(u=r\) and 0 to the others. The column vector \(d\) sums all legal final appends from each state, including those that leave a pair with no further extension. Then \[a(n)=\ell M^{n-1}d\qquad(n\ge1). \] For A253025, the directed graph has an edge wherever a transfer weight is positive. Within each of its six reachable cyclic components, choose a root and let \(h(v)\) be the length of a directed path from that root to vertex \(v\) inside the component. The greatest common divisor of \(h(v)+1-h(v')\) over its edges \(v\to v'\) is 3, so each step advances the residue of \(h\) by one modulo three. This structure makes the nonzero eigenvalues of each component occur in triples \(\lambda,\omega\lambda,\omega^2\lambda\) with equal multiplicities, where \(\omega\) is a primitive cube root of unity. The exact recurrences specify how the three-step structure appears in the counts, including the width-dependent onset. To recover the full signed coefficients and ordinary generating function for any table entry, put \(b=N-D\) and form the \(D\)-by-\(D\) matrix \(H_{ij}=a(b+i+j)\) for \(0\le i,j<D\). The matrix is nonsingular in every listed case. The coefficients are the unique solution of \[H(c_D,\ldots,c_1)^{\mathsf T}=(a(N),\ldots,a(N+D-1))^{\mathsf T},\qquad Q(x)=1-\sum_{j=1}^{D}c_jx^j. \] The series \(\sum_{n\ge1}a(n)x^n\) is \(P(x)/Q(x)\), where \(P(x)\) is obtained by multiplying \(Q(x)\) by \(\sum_{n=1}^{N-1}a(n)x^n\) and discarding terms of degree \(N\) and higher. This gives the numerator for each individual strip, even when widths share a denominator. For A252695 the denominators at widths 4, 6 and 8 are \[(1-x)(1+x)(1-2x)(1-3x+x^2)(1-2x^2)(1-2x^3), \] and at widths 5, 7 and 9 they are \[(1-x)(1-2x)(1-x-x^2)(1-2x^2)(1-2x^3). \] For an exact check of a signed relation, set \(p(z)=z^D-\sum_{j=1}^{D}c_jz^{D-j}\) and \(R_e=M^ep(M)d\) for integers \(e\ge0\). The discrepancy at \(n=D+1+e\) is \(\ell R_e\). A zero vector guarantees zero discrepancies thereafter, as does a repeating vector cycle whose scalar discrepancies all vanish. The fixed-height-five A252719 strip exhibits the latter behaviour. It has \(\ell R_0=24\) at \(n=6\), then \(R_4=R_1\) with zero scalar discrepancy at all three positions in that cycle, giving the sharp onset \(n=7\). The listed orders, onsets, denominator patterns and period counts apply to the specified four-colour rules and fixed dimensions. Original problem sources. https://oeis.org/A252861 https://oeis.org/A252811 https://oeis.org/A253044

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon