Polynomial counts for bounded Manhattan deficits on strips

For a strip of fixed width \(k\), the number of height arrays with Manhattan deficit at most two or three is a polynomial in the number of rows \(n\), of degree \(2k\) or \(3k\), respectively. Fixing the south-east deficit at four gives degree \(4k\). All three polynomials give the exact counts for every positive integer \(n\) and every positive integer width \(k\), including the initial zero counts where the terminal condition is impossible. The state that makes these degrees visible is a row of deficits from the maximum permitted height. Take an \(n\)-by-\(k\) array with zero-based row and column indices \(i,j\), north-west height \(x_{00}=0\), and a height increase of zero or one at each step east or south. Its maximum permitted height at \((i,j)\) is the Manhattan distance \(i+j\). The deficit \(y_{ij}=i+j-x_{ij}\) also increases by zero or one on each such step. The change of variables is reversible by the same subtraction. A deficit of four at the south-east corner bounds the entire array of deficits by four, because the deficits are non-decreasing towards that corner. To compute a count, take \(d=2,3\) or \(4\) as appropriate. The states are rows \(a=(a_1,\ldots,a_k)\) with entries in \(\{0,\ldots,d\}\) and adjacent differences \(a_{i+1}-a_i\) equal to zero or one. Form the zero-one matrix \(N\) with \(N_{ab}=1\) exactly when \(b\ne a\) and \(b_i-a_i\in\{0,1\}\) in every position. The column vector \(p\) indicates states with \(a_1=0\). For a cap of two or three, take the column vector \(q\) to be all ones. For terminal deficit four, let \(q\) indicate states with \(a_k=4\). The count \(F(n,k)\) for the chosen condition and its generating function are \[F(n,k)=\sum_{j=0}^{dk}c_j\binom{n-1}{j},\qquad c_j=p^{\mathsf T}N^jq, \qquad \sum_{n\ge1}F(n,k)z^n=\sum_{j=0}^{dk}c_j\frac{z^{j+1}}{(1-z)^{j+1}}. \] Here \(N^0\) is the identity and \(\binom{n-1}{j}=0\) for \(j>n-1\). The coefficient \(c_j\) counts chains with \(j\) strict row changes. The binomial factor chooses which of the \(n-1\) row transitions change state, leaving the others as repetitions. Each strict change increases the row sum, so there can be at most \(dk\) changes. That many are possible by raising the entries one at a time from right to left at each successive level, starting with the all-zero row and finishing with the all-\(d\) row. The ordinary leading coefficient is \(c_{dk}/(dk)!\), and the generating function has a pole of order \(dk+1\) at \(z=1\). For the cap of two, Hardin's question about the two explicit columns and the proposed degrees in columns three to seven has an all-width answer. The leading Newton coefficient is the Catalan number \(c_{2k}=\binom{2k-2}{k-1}/k\). The first two columns are \(n^2/2-n/2+1\) and \(n^4/24+5n^3/12-n^2/24+7n/12+1\). The finite count also verifies the companion polynomials and their generating-function numerators. With a cap of one, the count is \(\binom{n+k}{k}-1\), from the boundary paths of non-decreasing binary arrays with the all-ones array excluded by the north-west anchor. Hardin's A252820, column formulas and deficit-one aside For the cap of three, the width-one formula is \(n^3/6-n^2/2+4n/3\). Widths two to seven have the proposed degrees \(6,9,12,15,18,21\), and the finite count recovers all six exact companion polynomials in A252822–A252827 and their generating-function numerators and recurrence lags where given. The first nonzero count is at \(n=1\) for every width, as it is for the cap of two. Hardin's A252828, FORMULA and width companions With terminal deficit four, the south-east height is \(n+k-6\) and the first nonzero count occurs at \(n=\max(1,6-k)\). The width-one count is \(\binom{n-1}{4}\). The formula recovers all seven proposed columns, including the six exact companion polynomials in A252924–A252929 and the four published Mathar generating functions in A252924–A252927. An equivalent computation subtracts the unrestricted-terminal cap-three count from the unrestricted-terminal cap-four count. The adjacent terminal-deficit-one identity is \(\binom{n+k}{k}-2\), since fixing both ends of the binary deficit array excludes both constant arrays. Hardin's A252930, FORMULA and generating-function companions For cap three and terminal deficit four, the leading coefficient at any width can be computed without constructing the row matrix. Keep counters \(r_1,\ldots,r_d\), initially zero, where \(r_a\) is the number of entries already raised through level \(a\). At each move choose a level \(a\) with \(r_a<k\) and put \(s=r_a+1\). Increase \(r_a\) by one if \(a=1\) or if \(r_{a-1}\ge\min(k,s+1)\). The extra previous-level crossing, when there is a left neighbour, keeps the horizontal difference at most one. The number of move sequences ending with every counter equal to \(k\) is \(c_{dk}\). For widths one to seven, these leading Newton coefficients are \(1,1,4,29,290,3532,49100\) for cap three and \(1,1,8,169,6392,352184,25097600\) for terminal deficit four. Earlier fixed-width results cover widths two to five for cap two and widths two and three for cap three. Mathar already described the complementary increments and a transfer construction for terraces, and recorded the terminal-deficit-four table as finite data. The bounded row representation gives a common exact count and leading coefficient for each of the three families at arbitrary fixed width. Cap-two fixed-width results for widths 2, 3, 4 and 5. Cap-three fixed-width results for widths 2 and 3. Mathar, §§3.2 and 4 and p. 18

Authors

Institutions

Publication Details

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

Polynomial counts for bounded Manhattan deficits on strips

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

Polynomial counts for bounded Manhattan deficits on strips

Zixuan He
preprint en

Abstract

For a strip of fixed width \(k\), the number of height arrays with Manhattan deficit at most two or three is a polynomial in the number of rows \(n\), of degree \(2k\) or \(3k\), respectively. Fixing the south-east deficit at four gives degree \(4k\). All three polynomials give the exact counts for every positive integer \(n\) and every positive integer width \(k\), including the initial zero counts where the terminal condition is impossible. The state that makes these degrees visible is a row of deficits from the maximum permitted height. Take an \(n\)-by-\(k\) array with zero-based row and column indices \(i,j\), north-west height \(x_{00}=0\), and a height increase of zero or one at each step east or south. Its maximum permitted height at \((i,j)\) is the Manhattan distance \(i+j\). The deficit \(y_{ij}=i+j-x_{ij}\) also increases by zero or one on each such step. The change of variables is reversible by the same subtraction. A deficit of four at the south-east corner bounds the entire array of deficits by four, because the deficits are non-decreasing towards that corner. To compute a count, take \(d=2,3\) or \(4\) as appropriate. The states are rows \(a=(a_1,\ldots,a_k)\) with entries in \(\{0,\ldots,d\}\) and adjacent differences \(a_{i+1}-a_i\) equal to zero or one. Form the zero-one matrix \(N\) with \(N_{ab}=1\) exactly when \(b\ne a\) and \(b_i-a_i\in\{0,1\}\) in every position. The column vector \(p\) indicates states with \(a_1=0\). For a cap of two or three, take the column vector \(q\) to be all ones. For terminal deficit four, let \(q\) indicate states with \(a_k=4\). The count \(F(n,k)\) for the chosen condition and its generating function are \[F(n,k)=\sum_{j=0}^{dk}c_j\binom{n-1}{j},\qquad c_j=p^{\mathsf T}N^jq, \qquad \sum_{n\ge1}F(n,k)z^n=\sum_{j=0}^{dk}c_j\frac{z^{j+1}}{(1-z)^{j+1}}. \] Here \(N^0\) is the identity and \(\binom{n-1}{j}=0\) for \(j>n-1\). The coefficient \(c_j\) counts chains with \(j\) strict row changes. The binomial factor chooses which of the \(n-1\) row transitions change state, leaving the others as repetitions. Each strict change increases the row sum, so there can be at most \(dk\) changes. That many are possible by raising the entries one at a time from right to left at each successive level, starting with the all-zero row and finishing with the all-\(d\) row. The ordinary leading coefficient is \(c_{dk}/(dk)!\), and the generating function has a pole of order \(dk+1\) at \(z=1\). For the cap of two, Hardin's question about the two explicit columns and the proposed degrees in columns three to seven has an all-width answer. The leading Newton coefficient is the Catalan number \(c_{2k}=\binom{2k-2}{k-1}/k\). The first two columns are \(n^2/2-n/2+1\) and \(n^4/24+5n^3/12-n^2/24+7n/12+1\). The finite count also verifies the companion polynomials and their generating-function numerators. With a cap of one, the count is \(\binom{n+k}{k}-1\), from the boundary paths of non-decreasing binary arrays with the all-ones array excluded by the north-west anchor. Hardin's A252820, column formulas and deficit-one aside For the cap of three, the width-one formula is \(n^3/6-n^2/2+4n/3\). Widths two to seven have the proposed degrees \(6,9,12,15,18,21\), and the finite count recovers all six exact companion polynomials in A252822–A252827 and their generating-function numerators and recurrence lags where given. The first nonzero count is at \(n=1\) for every width, as it is for the cap of two. Hardin's A252828, FORMULA and width companions With terminal deficit four, the south-east height is \(n+k-6\) and the first nonzero count occurs at \(n=\max(1,6-k)\). The width-one count is \(\binom{n-1}{4}\). The formula recovers all seven proposed columns, including the six exact companion polynomials in A252924–A252929 and the four published Mathar generating functions in A252924–A252927. An equivalent computation subtracts the unrestricted-terminal cap-three count from the unrestricted-terminal cap-four count. The adjacent terminal-deficit-one identity is \(\binom{n+k}{k}-2\), since fixing both ends of the binary deficit array excludes both constant arrays. Hardin's A252930, FORMULA and generating-function companions For cap three and terminal deficit four, the leading coefficient at any width can be computed without constructing the row matrix. Keep counters \(r_1,\ldots,r_d\), initially zero, where \(r_a\) is the number of entries already raised through level \(a\). At each move choose a level \(a\) with \(r_a<k\) and put \(s=r_a+1\). Increase \(r_a\) by one if \(a=1\) or if \(r_{a-1}\ge\min(k,s+1)\). The extra previous-level crossing, when there is a left neighbour, keeps the horizontal difference at most one. The number of move sequences ending with every counter equal to \(k\) is \(c_{dk}\). For widths one to seven, these leading Newton coefficients are \(1,1,4,29,290,3532,49100\) for cap three and \(1,1,8,169,6392,352184,25097600\) for terminal deficit four. Earlier fixed-width results cover widths two to five for cap two and widths two and three for cap three. Mathar already described the complementary increments and a transfer construction for terraces, and recorded the terminal-deficit-four table as finite data. The bounded row representation gives a common exact count and leading coefficient for each of the three families at arbitrary fixed width. Cap-two fixed-width results for widths 2, 3, 4 and 5. Cap-three fixed-width results for widths 2 and 3. Mathar, §§3.2 and 4 and p. 18

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