Answers are grounded in this paper and cite their sources.
We first fully implement, in Maple, the ingenious method of Robert Stoyan and Volker Strehl from 1995 to automatically derive generating functions for the number of Hamiltonian cycles in an m by n grid graph, for a fixed widthm, but general length n, and actually compute these generating functions for all 2 <= m <= 10. We also show how to generate a uniformly-at-random such Hamiltonian cycle, and give a full implementation in Maple. Finally we derive more informative generating functions for other parameters besides the length of the underlying grid graph. [This paper is dedicated to Volker Strehl, pictured in the landing image, in honour of his 'perfect fourth power birthday'.]
No takes yet. Share an insight, caveat, or question.
Blanco et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: