Generating key points…
Answers are grounded in this paper and cite their sources.
Baril and Ramírez asked whether skew packing paths can be counted jointly by number of steps, width, area and kissing number. An exact four-variable generating function answers this question for all their self-avoiding paths in the quarter plane, including the empty path. The two types of rising arc may each be traversed in either direction. Horizontal and falling arcs retain their prescribed directions. Baril and Ramírez, *Enumeration of paths in a hexagonal circle packing*, §6, second paragraph and Fig. 10, p. 19 A path starts at the origin and ends on the horizontal axis. Its width is the horizontal coordinate of that endpoint, and its length counts all traversed arcs, including reversals. Area counts the circles between the path and the bottom tangent line, and the kissing number counts how many of those circles touch the path, each counted once. In Cartesian coordinates \((X,y)\), put \(h=y/√3\) and \(s=X-h\). The circles have radius two and centres at \((s,h)=(4i+2,2j)\) for integers \(i,j\), with bottom tangent line \(y=-2\) for the row \(j=0\). In each column \(s=4i\), tangencies form a chain at successive integer heights. A self-avoiding run in that chain is monotone and is determined by its entry height \(r\) and exit height \(\). Every arc outside a chain advances to the next column at \(s+2\), so separate runs cannot return to a previously visited column. Non-negative vertex heights suffice to keep the arcs in the quarter plane. A path of width \(4m\), where \(m\) is a non-negative integer, has one run in each column \(s=0,4,…,4m\). The first run enters at height zero and the last exits at height zero. Two consecutive runs \((r,)\) and \((r',')\), with all heights non-negative integers, are connected by exactly two arcs if and only if \[≥ 1, j=-1/2, r'∈\{2j,2j+1\}. \] The intermediate tangency has height \(2j+1\). Every sequence satisfying these conditions specifies exactly one legal path, and the run \((r,)\) uses \(|-r|\) arcs. The intermediate height also determines the area. Replacing the arcs by their chords preserves which circle centres lie below the path in the region closed along the bottom tangent line. In the intermediate column, the enclosed circles have row indices \(0,…,j\), so this crossing contributes \(j+1\) to the area. To count kisses, the intermediate tangency contributes the circle in row \(j\). At any visited height \(h\), a tangency on the left run touches the circle in row \( h/2\) of this intermediate column, while a tangency on the right run touches the circle in row \( h/2\). A circle supporting a traversed arc also touches its endpoints. Writing \([a,b]Z\) for the integers from \(a\) to \(b\) inclusive, define \[I_L=[{min(r,)}2,{max(r,)}2]Z, I_R=[{min(r',')}2,{max(r',')}2]Z. \] The exact kissing contribution is \[K((r,),(r','))=|(\{j\}∪ I_L∪ I_R)∩[0,j]Z|. \] The union counts a circle once even when it touches both runs or several vertices. Circles in different intermediate columns contribute separately. Let \(x,t,q,z\) mark width, length, area and kissing number, respectively. Index a row vector \(v\), a column vector \(w\) and both axes of a matrix \(T\) by pairs of non-negative integer heights. With \( 1_E\) equal to one when condition \(E\) holds and zero otherwise, set \[vr,= 1_{\{r=0\}}t^, wr,= 1_{\{=0\}}. \] For each legal transition set \[T(r,),(r',')=t2+|'-r'|qʲ⁺¹zK((r,),(r',')), \] and set all other entries to zero. The exponent of \(t\) charges the two crossing arcs and the next run. The joint generating function is \[ G(x,t,q,z)=∑m≥0x⁴ᵐvT^mw=v(I-x^4T)⁻¹w, \] where \(I\) is the identity matrix and the inverse denotes the displayed formal sum. Its \(m=0\) term is the empty path. The coefficient of \(x^wt^nq^az^k\) counts paths of width \(w\), length \(n\), area \(a\) and kissing number \(k\). To compute every coefficient through length \(N\), restrict both heights in a state to \(0,…,N\), retain only powers of \(t\) up to \(N\), and iterate through at most \( N/2\) transitions. An arc changes the height at its endpoints by at most one, so this truncation is exact. The calculation uses \(O(N^2)\) states and can be carried out with \(O(N^8)\) integer additions and \(O(N^6)\) stored coefficient entries. At width four the coefficient has the closed form \[[x^4] G(x,t,q,z)=qz\,t^3(1+t)^2/1-qz\,t^4. \] Requiring \(≥ r\) in every run gives the forward-only class. At width four this leaves one path of length three and one of length four, each with area and kissing number one. For the skew path in Fig. 10, the transfer gives width 28, length 26, area 11 and kissing number 10.
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: