hamiltonian path
178 papers tagged with this keyword
Computations with diagonal simplicial tensor modules
For each vertex order $π$ of a finite simple graph on at least two vertices, insert an isolated vertex between successive vertices. In the resulting adjacency matrix $A$, deleting row $i$ and column $i$ gives a principal submatrix $A_i$. The alternating sum of the $A_i$ is the simplicial boundary of $A$ and has full rank over $\mathbb F_2$ exactly when $π$ traces a Hamiltonian path. Each Hamiltonian path gives two full-rank orders. We tabulate boundary rank distributions over all vertex orders of the Petersen, $4\times4$ rook, and Shrikhande graphs. Full-rank counts distinguish the cospectral rook and Shrikhande graphs. For each finite graph, vertex and edge tensors in a three-axis diagonal simplicial tensor module generate a simplicial submodule whose normalized chains form the graph's incidence complex and compute its homology. Let $X$ be a diagonal simplicial tensor module on $k\ge1$ axes over a nonzero unital commutative ring. We give coordinate bases for its horn kernels and normalized chains. A horn has a unique filler exactly when its degree exceeds $k$. For a shape in $X$ of simplicial dimension $n$ (shortest axis length $n+1$), the simplicial module $X$ is an $n$-hypergroupoid exactly when $k\le n$. We prove analogous bounds for horn filling in a dendroidal module on rooted trees. Over a field, we construct a rational map from the space of hypermatrices of fixed shape and degree to a product of Grassmannians. The reduced closure of its image is rational and, over $\mathbb C$, is isomorphic to a Schubert variety. Python code for this paper's examples and rank tables is at https://github.com/flengyel/SimplicialTensors.
Degree-three Euclidean spanning trees within a factor of 1.514 of the minimum
For every finite point set $X$ in a Euclidean space of arbitrary dimension, we prove that there is a spanning tree of maximum degree three and total length at most $(757/500)\MST(X)=1.514\MST(X)$, where $\MST(X)$ denotes the unrestricted minimum spanning-tree length. More strongly, for any root and any finite list of other points, there is a Hamiltonian path starting at the root whose length is at most $1.514$ times the sum of the root-to-point distances. The proof follows the rooted-path and variable-block framework used in earlier work, and applies Young's weighted-distance inequality to explicit rational mixtures of paths. Eight ordered radius regions cover the normalized domain. Their local estimates require only 29 vertex comparisons, all certified by rational arithmetic. The cover uses the three thresholds $1/4$, $3/8$, and $1/2$; its largest block has nine vertices. We give complete proofs of the normalization transfer, the global induction, and the terminal cases with zero or one actual tail point. We also give a fixed-dimensional cross-polytope lower bound, present Zbarsky's orthogonal simplex-cluster construction in explicit coordinates, and compare their finite-dimension bounds. The base cases complete the upper-bound argument before the lower-bound constructions are presented.
An infinite family of bipartite hypotraceable graphs
A graph is hypotraceable if it has no Hamiltonian path but every vertex-deleted subgraph does. In 1978, Grötschel asked whether a bipartite hypotraceable graph exists. We resolve this long-standing question in a strong sense by proving that such graphs exist for every sufficiently large even order. Moreover, we show that bipartite hypotraceable graphs can have $\left(1/4+o(1)\right)n^2$ edges, asymptotically attaining the maximum possible number of edges of a bipartite graph, and that there are at least $2^{(1/4+o(1))n^2}$ nonisomorphic examples of order $n$, as $n$ tends to infinity through even integers. Finally, we prove that every bipartite graph occurs as an induced subgraph of a bipartite hypotraceable graph.
Duality Relations of Graph Polynomials
Published in Discrete Mathematics 350 (2027), no. 3, 115528
• View Publication
• BIB
The duality theorem of Lass relates the matching polynomials of a simple graph $G$ with the matching polynomials of its complement $\bar G$. In particular, this relation gives rise to Godsil's result, which offers a nice interpretation of the Lebesgue integral associated with the Hermite orthogonality measure. In this work, we show that similar to matching polynomials, the path-cover polynomials also satisfy duality relations and give combinatorial interpretations of the Lebesgue integral and the inner product in the space of associated Laguerre polynomials. Similar duality relations hold for clique-cover polynomials and chromatic polynomials. As applications, we find an efficient algorithm that computes these graph polynomials for cographs. We also give explicit formulas to compute the number of Hamiltonian paths and cycles in complete multipartite graphs.
The maximum length of a Hamiltonian path in the grid graph $P_m \times P_n$
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 multiplicities at least two; we give a form valid for every multiplicity, with a correction term that is invisible in the planar case but not in higher dimensions.
Existence of alternating Hamiltonian paths on specific bicolored point sets
Consider a bicolored point set $P$ in general position in the plane consisting of $n$ blue and $n$ red points. We show that if $P$ can be partitioned into bicolored pairs $(a_i,b_i)$ such that, for every $i$, $a_i$ and $b_i$ have different colors and the sets $P\setminus \{a_i\}$ and $P \setminus \{b_i\}$ have the same order type, then there exists a noncrossing alternating Hamiltonian path on $P$. We also investigate the case when $P$ lies on the circle, and every interval along the circle contains at most $c$ more points of one color than of the other. For $c=2$, we show that there exists a noncrossing alternating Hamiltonian path on $P$. For $c=3$, we show that there exist configurations of points for which the longest noncrossing alternating path on $P$ has size at most $(2-1/25)n + O(1)$.
Spectral conditions for the existence of $\{K_2,\{C_k\}\}$-factor in $t$-tough graphs
For $t>0$, a graph $G$ is called $t$-tough if $|S|\geq t\,c(G-S)$ for every $S\subseteq V(G)$ with $c(G-S)\geq2$, where $c(G-S)$ denotes the number of components of $G-S$. Toughness is closely related to the existence of Hamiltonian cycles and factors in graphs. Chvátal [Discrete Math. 5 (1973) 215--228] conjectured that there exists a constant $t_0>0$ such that every $t_0$-tough graph of order at least three is Hamiltonian. Bauer, Broersma and Veldman [Discrete Appl. Math. 99 (2000) 317--321] constructed $(9/4-\varepsilon)$-tough graphs without a Hamiltonian path for arbitrarily small $\varepsilon>0$. For the weaker requirement of a $2$-factor, Enomoto et al. [J. Graph Theory 9 (1985) 87--95] proved that every $2$-tough graph of order at least three has a $2$-factor and that the toughness threshold $2$ is best possible. A graph $G$ is said to have a $\{K_2,\{C_k:k\geq3\}\}$-factor if and only if $G$ contains a spanning subgraph consisting of components that are either cycles or single edges. A $\{K_2,\{C_k:k\geq3\}\}$-factor can be viewed as a combination of a $1$-factor and a $2$-factor, motivating the study of such factors in tough graphs. In this paper, we establish sharp sufficient conditions in terms of the adjacency spectral radius, the distance spectral radius, and the distance signless Laplacian spectral radius for a $t$-tough graph to have a $\{K_2,\{C_k:k\geq3\}\}$-factor.
Planar induced paths via a decomposition into non-crossing ordered graphs
In any graph, the maximum size of an induced path is bounded by the maximum size of a path. However, in the general case, one cannot find a converse bound, even up to an arbitrary function, as evidenced by the case of cliques. Galvin, Rival and Sands proved in 1982 that, when restricted to weakly sparse graphs, such a converse property actually holds.
In this paper, we consider the maximal function $f$ such that any planar graph (and in general, any graph of bounded genus) containing a path on $n$ vertices contains an induced path of size $f(n)$, and prove that $f(n) \in Θ(\log n/\log \log n)$ by providing a lower bound matching the upper bound obtained by Esperet, Lemoine and Maffray, up to a constant factor. We obtain these tight bounds by analyzing graphs ordered along a Hamiltonian path that admit an edge partition into a bounded number of sets without crossing edges. In particular, we prove that the guaranteed size of an induced path when the ordered graph can be partitioned into $2k$, resp. $2k+1$, sets of non-crossing edges, is $Θ_k((\log n/\log \log n)^{1/k})$, resp. $Θ_k((\log n)^{1/(k + 1)})$.
Rainbow Hamiltonian paths in graph collections under edge-size conditions
Let $\mathbf{G}=\{G_1,\dots,G_{n-1}\}$ be a collection of not necessarily distinct graphs of order $n$ on the same vertex set $V$. A path $P$ with $V(P)\subseteq V$ is called \emph{rainbow} in $\mathbf{G}$, if there exists an injection $ϕ\colon E(P)\to [n-1]$ such that $e\in E(G_{ϕ(e)})$ for each $e\in E(P)$. In this paper, we show that if $n\ge3$, $e(G_i)> \binom{n-2}{2}+2$ for each $i\in[n-1]$ and $G_j$ is connected for some $j\in[n-1]$, then there exists a rainbow Hamiltonian path in $\mathbf{G}$ unless $n=6$ with $G_1=G_2=\dots=G_{5}\cong K_2\vee 4K_1$, or $n=8$ with $G_1=G_2=\dots=G_{7}\cong K_3\vee 5K_1$. This corrects Theorem 6 in [Graphs Combin., \textbf{41}(6)(2025), 119] and relaxes its hypothesis from requiring all $G_i$ to be connected to only requiring that at least one $G_i$ is connected, where $i\in[n-1]$. Moreover, we show that if $n\ge2$ and $e(G_i)\ge \binom{n-1}{2}$ for each $i\in[n-1]$, then $\mathbf{G}$ contains a rainbow Hamiltonian path unless $G_1=G_2=\dots=G_{n-1}\cong K_{n-1}\cup K_1$, or $n=4$ with $G_1=G_2=G_3\cong K_{1,3}$. As a consequence, Theorem 2 of [Discrete Math., \textbf{347}(2024), 114128] follows immediately.
The maximum number of Hamiltonian cycles in tournaments
Let $C(n)$ denote the maximum number of directed Hamiltonian cycles in a tournament on $n$ vertices. We prove that, as $n\to\infty$, $$
C(n) = \left(\frac{\cosh 1}{\cos 1}\pm o(1)\right)\frac{(n-1)!}{2^n}. $$ The bound is asymptotically attained by the regular tournament with vertices $\mathbb Z/n\mathbb Z$ where $(i,j)$ is a directed edge if $j - i \pmod n< n/2$. This answers a question of Alon and proves a conjecture of Wormald. Among the other implications of these results is asymptotically determining the maximum number of Hamiltonian paths in a tournament on $n$ vertices. We provide our own exposition of these proofs, which were originally found by GPT-5.6.
Backbone coloring for graphs with degree 4
The $λ$-backbone coloring of the graph $G$ with backbone $H$ is a graph-coloring problem in which we are given a graph $G$ and a subgraph $H$, and we want to assign colors to vertices in such a way that the endpoints of every edge from $G$ have different colors, and the endpoints of every edge from $H$ are assigned colors which differ by at least $λ$. In this paper we pursue research on backbone coloring of bounded-degree graphs with well-known classes of backbones. Our result is an almost complete classification of the complexity of deciding whether $BBC_λ(G, H) \le k$ for graphs with maximum degree at most $4$ and matching, galaxy, Hamiltonian path, and spanning tree backbones. We also determine the effect of allowing isolated vertices in matching and galaxy backbones.
A nearly linear bound for the Lovász conjecture
The celebrated conjecture of Lovász from 1969 asks whether every connected vertex-transitive graph has a Hamiltonian path. Bucić, Christoph, Pokrovskiy and Steiner recently proved that every such graph on $n$ vertices contains a cycle of length $n^{2/3-o(1)}$.
In this paper, we improve this bound to $n^{1-o(1)}$. Our proof uses a structure theorem of Tessera and Tointon to first obtain a partition of the vertex set into sets of small diameter in the original graph. When the parts are large, we repeatedly traverse a spanning tree of maximum degree at most three in the quotient graph, and use the Lovász local lemma to join random short paths along this traversal and extract a long path in the original graph. When the parts are small, we apply Babai's contraction lemma to reduce the problem to finding a long path in a connected Cayley graph of a nilpotent group with boundedly many generators and bounded nilpotency class, and then show that such a Cayley graph on $m$ vertices contains a path on $m^{1-o(1)}$ vertices.
Enumerating Hamiltonian Paths and Cycles
We prove counting formulae for the number of directed Hamiltonian paths and directed Hamiltonian cycles in any complete multipartite graph. The method is based on a collapsing technique relating general path graphs with coloured vertices to legally coloured path graphs.
Connectivity of the reconfiguration graph of Hamiltonian paths
A backbite on a Hamiltonian path of a graph $G$ adds an edge of $G$ from an endpoint $u$ of the path to a vertex $v$ and deletes an edge of the path at $v$ so that the result is again a Hamiltonian path. We study the connectivity of the reconfiguration graph $R(G)$, whose vertices are the Hamiltonian paths of $G$, with two adjacent when a single backbite carries one to the other. We prove that $R(G)$ is connected whenever $G$ contains the square of a Hamiltonian path as a spanning subgraph, and that any two Hamiltonian paths can be reconfigured using $O(n^2)$ backbites. Combining the theorem with known results on spanning squared paths gives connectivity for every graph with $δ(G)\ge\lceil\frac{2n-1}3\rceil$, for the circulants $\mathrm{Circ}(n;S)$ with $a,2a\in S$ for some $a$ coprime to $n$, and, with high probability, for the random graph $G(n,p)$ with $p\ge c/\sqrt n$, for a sufficiently large constant $c$. In the other direction, graphs with arbitrarily high connectivity may have disconnected reconfiguration graphs. For every $n\ge8$ and every $1\le m\le\lfloor n/2\rfloor-3$ we construct a graph on $n$ vertices with $κ=λ=δ=m$ whose reconfiguration graph is disconnected, with at least $(n-2m-4)!$ components. We conjecture that $δ(G)\ge n/2$ suffices for connectivity.
123-Avoiding permutations with an adjacency constraint
We study permutations $π\in S_n$ that avoid $123$ while satisfying the adjacency constraint $\lvert π_{i+1}-π_i\rvert \le m$ for some $m\in\mathbb{Z}^{+}$. We first show that every admissible permutation is localized within vertical distance $m$ of the reverse diagonal, revealing a strong global restriction imposed by the interaction between pattern avoidance and bounded adjacency. For every fixed $m$, we then construct an exact finite-state description of the family, with precisely $2^{m+1}-m-1$ realizable states. This yields an explicit transfer-matrix enumeration and, in particular, a rational generating function for every fixed $m$; consequently, the enumeration sequence satisfies an eventual constant-coefficient linear recurrence. We further identify the exponential growth rate with the spectral radius $ρ_m$ of the corresponding transfer matrix and show that $ρ_m<4$, is nondecreasing in $m$, and converges to the Catalan growth constant $4$ as $m\to\infty$. Finally, we show that the bounded-adjacency constraint breaks the ordinary length-three Wilf equivalence, and we develop algorithmic and graph-theoretic interpretations of the family, including a correspondence with constrained Hamiltonian paths in powers of the path graph.
A proof of Lehmer's permutation conjecture for neighbor-swap graphs
In 1965, D. H. Lehmer conjectured that the permutations of every multiset admit an imperfect Hamiltonian traversal by adjacent swaps: a walk in the neighbor-swap graph that visits every word, with some words visited twice in order to reach a neighbor and return. The question is posed as an unsolved research problem in Knuth's Art of Computer Programming. Verhoeff (2017) chose the stutter words, in which every domino is a double, as the words to be reached this way, and reformulated the conjecture as the Hamiltonicity of the graph $N(S)$ on the non-stutter words, with two exceptional families --- binary signatures with an odd multiplicity, and the permutations of $(2k,1,1)$ --- that admit a Hamiltonian path but no cycle. This article proves the reformulated conjecture, and with it Lehmer's conjecture. The key structure is a partition of the words into hypercubes: the swaps inside dominoes turn each class of words with the same domino contents into a hypercube, and the stutters are exactly the $0$-dimensional classes. When every multiplicity is even, Hamiltonian cycles of the hypercubes are glued along a spanning tree, with no finite check. The case of exactly one odd multiplicity reduces to the all-even case and to a theorem of Stachowiak (1992), the one inherited Hamiltonicity input, which also settles two or more odd multiplicities. The only finite ingredients are two explicit cycles, of 28 and 84 words. Every construction is implemented in Python and checked against brute-force graphs, and the proof is formalized in Lean 4 over Mathlib.
Arc-disjoint Hamiltonian paths in Cayley digraphs with a normal difference subgroup
Let $G=\langle a,b\rangle$ be a finite group with distinct nonidentity generators, and suppose that $H=\langle ba^{-1}\rangle$ is normal. We determine exactly which complementary generator choices on the nonterminal cosets of $H$ extend to two arc-disjoint Hamiltonian paths with both terminal vertices in $H$. The associated return residue must avoid an explicit set of at most six residues. When $[G:H]\ge3$, any two nonterminal cosets may be left free while all other choices are prescribed; two is best possible. Every such Cayley digraph has two arc-disjoint Hamiltonian paths; this includes all two-generator Cayley digraphs of finite abelian groups. The criterion follows from a complete distance formula for the Hamiltonian cut spectra of $\mathrm{Cay}(\mathbb{Z}_q;\{D,D+1\})$. Their unique nondegenerate exception comes from the odd central coefficient $(q-1)/2$. The geometric ingredient is a confinement theorem: two sector-filled integer sequences satisfying a length inequality, with overlapping ranges and distance at least two, have one sequence contained in a single gap of the other. Sector filling bounds alternation, and the length inequality excludes interlacing. A self-contained proof of the primitive-ray cycle profile follows the intersection geometry of Curran and Witte.
Cyclic Latin Eulerian Numbers
We introduce the directed cyclic difference inventory $D_n(\mathbf{m})$ to study Latin Eulerian numbers restricted to row-reorderings of the cyclic Latin square, offering an orientation-sensitive refinement of the prescribed-edge-length Hamiltonian path problem. We establish exact enumeration formulas, symmetries, and realizability obstructions for this inventory. Furthermore, we reduce the cyclic total-ascent statistic directly to endpoint-refined Eulerian statistics via the identity $Σ(L_π) = n \operatorname{asc}(π) + π(1) - π(n)$, yielding a closed-form expression for the cyclic Latin-Eulerian polynomial.
Lean-Certified Infinite Counterexamples to Written on the Wall II Conjecture 194
For a finite simple graph G, let alpha(G) denote its independence number and let
l_avg(G) = (1 / |V(G)|) sum_{v in V(G)} alpha(G[N_G(v)])
be the average independence number of its open neighbourhoods. Written on the Wall II Conjecture 194 asserts that every simple connected graph on n > 1 vertices satisfying alpha(G) <= 1 + l_avg(G) has a Hamiltonian path. We give a four-parameter family of counterexamples. Its principal two-parameter subfamily satisfies the proposed inequality with equality: for every pair of integers s >= 1 and t >= 3 it has (s + 1)t^2 vertices, independence number t + 1, l_avg(G) = t, and minimum degree s, but has no Hamiltonian path. This entire infinite subfamily is machine-checked in Lean 4: one universally quantified theorem certifies its order, connectivity, independence number, average neighbourhood independence, minimum degree, conjecture hypothesis, and failure of traceability. Thus no fixed lower bound on the minimum degree repairs the conjecture. The case (s,t) = (1,3) has 18 vertices, but the formal certificate is parametric rather than a verification of that one graph alone.
On the Hamiltonicity, traceability and toughness of complements of line graphs
A coline graph $\text{co}(G)$ of a graph $G$ is the graph with vertex set $E(G)$ for which two vertices $e$ and $e'$ of $\text{co}(G)$ are adjacent if and only if they are not adjacent as edges in $G$. A graph $G$ is tough if the number of connected components of $G-S$ is at most $|S|$ for all cut sets $S$. Wu and Meng, and Liu independently gave similar characterisations of coline graphs that are Hamiltonian. In this paper we give an alternate proof of Wu and Meng's and Liu's results using the longest cycle method. We in fact prove the following reformulation of their results. A tough coline graph $\text{co}(G)$ is Hamiltonian unless $G$ is one of four examples, one of which is $K_5$, since $\text{co}(K_5)$ is the Petersen graph. Characterisations of tough coline graphs and of coline graphs that contain a Hamiltonian path are also given.