{"id":"arxiv/2611.19908","url":"https://arxiv.org/abs/2611.19908","tags":["math.CO"],"score":0,"title":"The maximum length of a Hamiltonian path in the grid graph $P_m \\times P_n$","domain":"math.CO","source":"arxiv","authors":["Jiajun Yuan"],"reviews":0,"subject":"math.CO","summary":"Label the $mn$ vertices of the grid graph $P_m \\times P_n$ bijectively by $1, \\dots, mn$ and read the labels in increasing order; this produces a Hamiltonian path whose length in the Manhattan metric is denoted $M(P_m \\times P_n)$. McNeil conjectured, on the basis of computer evidence, that $M(P_n \\times P_n) = n^3 - 3$ for even $n$ and $n^3 - n - 1$ for odd $n$. Fried recently determined $M(P_m \\times P_n)$ up to an additive error of one. We determine it exactly, which settles McNeil's conjecture. The proof rests on the cut-counting bound for multisets. Fried states that bound for…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-11-15","reactions":{}}