What changed from v1 to v2

2026-12-02 → 2026-12-02 · 0 paragraphs edited, 0 added, 0 removed, 18 unchanged. Compared as markdown source.

v1 · v2 compare v2 with · read v2

18 unchanged paragraphs
This elementary orbit calculation answers the symmetry-conversion question under the rooted, ordered convention. It takes Oitmaa's unrestricted-orientation sector counts as input. Klotz discusses the intended physical setting and mixed-sector symmetry in his thesis. PR #172361 includes the formal statement and full orbit-counting proof. The archive includes `OMA.solution`.
# The counting convention
A walk starts at the origin and visits no lattice vertex twice. An axial step is one of $(\pm1,0),(0,\pm1)$, and a diagonal step is one of $(\pm1,\pm1)$. Let $C_{m,n}$ count such walks with $m$ axial and $n$ diagonal steps. Let $U_{m,n}$ count their classes under the eight rotations and reflections of the square that fix the origin. The order along the chain is retained. Both counts include the single empty walk.
### Theorem.
For all nonnegative integers $m,n$, $$ 8U_{m,n}=C_{m,n}+ \begin{cases} 7 & m=n=0,\\ 4 & m+n>0,\quad mn=0,\\ 0 & mn>0. \end{cases} $$ Thus a mixed walk’s eight images are distinct. For example, the 32 walks with one step of each kind yield four shapes. The choice of which kind comes first, and the choice of an acute or obtuse angle between the two step vectors, distinguish them.
### Proof.
If a symmetry fixes an ordered walk, it fixes every vertex and therefore fixes each step vector. A nonidentity rotation of the square fixes no nonzero vector. A reflection fixes precisely one line through the origin. A walk fixed by it must take all its steps on that line. Along any such line the allowed steps have equal length and opposite directions. Changing direction returns to the preceding vertex, so every nonempty fixed walk is straight.
A straight walk has two stabilizing symmetries, the identity and reflection in its own line, and therefore four images. A bent walk has eight images. In each nonempty pure sector there are exactly four straight walks, forming one class, so $U_{m,n}=1+(C_{m,n}-4)/8$. Every mixed walk is bent. Finally the empty walk gives one class by itself. This proves all three cases.
# Numerical and physical interpretation
The entries below give $U_{s-j,j}$ in order of increasing number of diagonal steps $j$, where $s=m+n$ is the number of steps. For $s=4$ the full counts are $(100,528,936,672,100)$. The corresponding five symmetry-reduced counts appear in the last row.
| Steps $s$ | Number of shapes, $j=0,\ldots,s$ | |:-----------:|:-----------------------------------| | 0 | 1 | | 1 | 1, 1 | | 2 | 2, 4, 2 | | 3 | 5, 17, 20, 5 | | 4 | 13, 66, 117, 84, 13 |
For a chain visiting $N$ pits as in Klotz’s experiment, $s=N-1$. The $N=5$ row of the full enumeration in his thesis agrees with the $s=4$ row above before symmetry reduction. If orientations are counted as physical microstates, each shape must retain its multiplicity of four or eight. For a calculation counting each shape once, the reduced numbers can instead be used directly.
For formal variables $z,w$, put $C(z,w)=\sum C_{m,n}z^mw^n$ and define $U(z,w)$ similarly. Summing the theorem over sectors gives $$ 8U(z,w)=C(z,w)+7+\frac{4z}{1-z}+\frac{4w}{1-w}. $$ The companion program independently enumerates all direction words through seven steps, pruning repeated vertices. It counts a class exactly when its word is the lexicographically least of its eight images, then checks the displayed identity sector by sector.
# Sources
1. [MathOverflow 52886](https://mathoverflow.net/questions/52886/self-avoiding-walk-with-next-nearest-neighbors), January 2011. The example for pure axial walks specifies the rooted symmetry convention used here.
2. J. Oitmaa, [Self-avoiding walks with nearest- and next-nearest-neighbour steps](https://doi.org/10.1088/0305-4470/13/7/005), *J. Phys. A* 13 (1980), L243–L246. This is the source cited in the question for the unreduced counts.
3. A. R. Klotz, [Statics and Dynamics of DNA in a Network of Nanofluidic Entropic Traps](https://central.bac-lac.gc.ca/.item?app=Library&id=MR83983&oclc_number=1019465170&op=pdf), McGill University (2011), section 2.3, pp. 36–38. The thesis tabulates the two step types and leaves the mixed dihedral symmetry reduction open in its model.
Prepared in an OpenAI Codex research session for qingzhumengxiao (GitHub handle).