Generating key points…
Answers are grounded in this paper and cite their sources.
All-width enumeration of binary opposite-order cross-minimum images Hardin's OEIS entry A219502 asks how many distinct binary arrays can be obtained by replacing each cell of an ordered binary array by the minimum over that cell and its existing horizontal and vertical neighbours. The rows, read left to right, are in nondecreasing lexicographic order from top to bottom. The columns, read top to bottom, are in nonincreasing lexicographic order from left to right. The FORMULA entry for width \(k=7\) leads to A219501, which gives a degree-six polynomial for heights \(n>3\). The result proves that polynomial on its stated range and gives an exact generating function for every positive width and height. For each width \(w≥2\), the count eventually has degree \(w-1\), with first valid height \( w/2+1\). Hardin's A219502, FORMULA \(k=7\) · Hardin's A219501, FORMULA The first three lower-width columns have empirical source credit. Public proofs already give the exact fixed-width counts for widths four, five, and six. The uniform result gives a common transfer for the whole table and identifies both the degree and the sharp onset of its polynomial tail as functions of width. Width four · Width five · Width six From ordered inputs to distinct outputs Write \(A_w(n)\) for the count at width \(w\) and height \(n\), and set \(G_w(x)=∑n≥1A_w(n)x^n\), with one factor of \(x\) per emitted row. The two lexicographic orders force every legal input row to have the form \(1^r0ʷ⁻ʳ\), and the successive prefix lengths \(r\) form a nondecreasing sequence in \(\{0,…,w\}\). Conversely, every such sequence gives a legal input. For \(w≥2\) the clipped horizontal minimum sends the row threshold \(r\) to \(h(r)\), where \[h(0)=0, h(r)=r-1(1≤ r<w), h(w)=w. \] If the preceding actual row has threshold \(p\), the current output row has threshold \(y=min\{p,h(r)\}\) with \(p≤ r\). The row below is componentwise no smaller than the current row. The first row has output threshold \(h(r)\), equivalently using \(w\) as the neutral previous argument of the minimum. The last row requires no extra condition. For an output prefix, track the set of possible current input thresholds. A new output label \(y\) can arise from previous threshold \(p=y\), in which case the new thresholds form a suffix, or from \(p>y=h(r)\), in which case the only possibility is \(p=r=y+1\) with \(0≤ y≤ w-2\). When both possibilities occur, the suffix contains the singleton. The possible-threshold set therefore updates deterministically from each emitted label. After the first row the states are suffixes, singletons, and the initial pair \(\{0,1\}\). Every feasible prefix can terminate. This compression counts each output sequence once even when several inputs produce it. Exact generating function and polynomial onset For \(w≥2\), write \(G_w(x)=N_w(x)/(1-x)^w\). The continuation series \(F_p\) from the suffix \(\{p,p+1,…,w\}\) satisfy \((1-x)F_p=Fₚ₊₁-x^2Fₚ₊₂\) for \(1≤ p≤ w-2\). Normalising by \(f_j=(1-x)^jFw-j+1\) gives \[f_1=1, f_2=1+x-x^2, f_j=fⱼ₋₁-x^2(1-x)fⱼ₋₂(3≤ j≤ w). \] With the first-row choices included, the numerator for \(w≥3\) is \[{aligned} N_w(x)={}&x(w-1)(1-x)ʷ⁻¹+x^2fw-1\ &+(x^2+x^3)∑ⱼ₌₂ʷ⁻²(1-x)ʷ⁻¹⁻ʲf_j\ &+(x+2x^3)(1-x)ʷ⁻². {aligned} \] The sum is empty at \(w=3\). At width two, \(N_2(x)=2x-x^2+x^3\). At width one, \(G_1(x)=x+x/(1-x)^2\), so the count is \(2\) at height one and \(n\) at every height \(n≥2\). Coefficient extraction \(A_w(n)=[x^n]G_w(x)\) applies at every positive height. For \(w≥2\), let \(d_w=w+ w/2\) and write \(N_w(x)=∑ₖ₌₀d_wνw,kx^k\). Define \[Q_w(n)=∑ₖ₌₀d_wνw,k{n-k+w-1}{w-1}, {t}{m}=t(t-1)⋯(t-m+1)/m!. \] Then \(A_w(n)=Q_w(n)\) for every integer \(n≥ w/2+1\). The degree is exactly \(w-1\), with leading coefficient \(1/(w-1)!\) for \(w≥3\) and \(2\) for \(w=2\). These coefficients follow from \(N_w(1)=1\) for \(w≥3\) and \(N_2(1)=2\). The numerator has degree \(d_w\), with leading coefficient \(1\) for even \(w\) and \(-3\) for odd \(w\). At \(n= w/2\), only that highest term has a negative upper binomial argument. Its actual series contribution is zero, while its polynomial contribution gives \(A_w(n)-Q_w(n)=1\) for even \(w\) and \(3\) for odd \(w\). This fixes the first height of permanent agreement. Return to Hardin's width-seven formula Specialising the same transfer to \(w=7\) gives \[{aligned} N_7(x)={}&7x-36x^2+101x^3-161x^4+134x^5-38x^6\\ &-13x^7+2x^8+8x^9-3x¹⁰. {aligned} \] Using these coefficients in \(Q_7\) gives the degree-six polynomial in A219501. The two degree-six forms agree at the seven deciding heights \(4,5,…,10\), which identifies them as polynomials. The uniform onset proves the source formula at every integer \(n>3\). At height three the actual count is \(45\) and the polynomial gives \(42\). At all positive heights the exact count comes from \([x^n]N_7(x)/(1-x)^7\). A219501, width-seven polynomial
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: