Next Article in Journal
Finite Orthogonal M Matrix Polynomials
Previous Article in Journal
The Role of Hidden Symmetry in Inertial Instability Dynamics
Previous Article in Special Issue
Maximum Colored Cuts in Edge-Colored Complete k-Partite Graphs and Complete Graphs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Kinds of Matchings Extending to Hamiltonian Cycles in Hypercube Networks

1
College of Mathematics, Taiyuan University of Technology, Wanbailin District, Taiyuan 030024, China
2
Department of Mathematics, Islamia College Peshawar, Peshawar 25120, Khyber Pakhtunkhwa, Pakistan
3
Department of Computing, Mathematics, and Electronics, 1 Decembrie 1918 University of Alba Iulia, 510009 Alba Iulia, Romania
4
Faculty of Mathematics and Computer Science, Transilvania University of Brasov, Iuliu Maniu Street 50, 500091 Brasov, Romania
*
Authors to whom correspondence should be addressed.
Symmetry 2025, 17(7), 995; https://doi.org/10.3390/sym17070995
Submission received: 13 May 2025 / Revised: 6 June 2025 / Accepted: 10 June 2025 / Published: 24 June 2025
(This article belongs to the Special Issue Advances in Graph Theory Ⅱ)

Abstract

The hypercube Q n is a well-known and efficient interconnection network. Ruskey and Savage posed the following question: does every matching in a hypercube Q n for n 2 extend to a Hamiltonian cycle? Fink addressed this by proving that every perfect matching extends to a Hamiltonian cycle in Q n , thereby resolving Kreweras’ conjecture. Ruskey and Savage’s problem is still open and has been proven only for small matchings. An edge of Q n is an i-edge when the binary representations of its endpoints differ at the ith coordinate. In this paper, we consider Q n for n 3 and show that any matching consisting of edges of at most six types, which does not cover every pair of vertices at a distance of 3, extends to a Hamiltonian cycle.

1. Introduction

Matchings and cycles are basic structures in graph theory. These structures in hypercubes are a class of graphs that have been extensively explored in computer science and mathematics. Let the set { 1 , 2 , , n } be denoted as [ n ] . The n-dimensional hypercube Q n , where the vertex set consists of binary strings of length n, i.e., V ( Q n ) = { u : u = u 1 , u 2 u n and u i { 0 , 1 } for all i [ n ] } . Two vertices are adjacent if and only if their corresponding binary strings differ at exactly one position.
The hypercube Q n is a well-known and efficient interconnection network. For any n 2 , Q n is known to be Hamiltonian. This statement dates back to 1872 [1]. Since then, there has been considerable interest in studying Hamiltonian cycles in hypercubes, and this topic has received considerable attention [2,3,4,5,6]. A hypercube graph is bipartite. Alaeiyan [7] presented the bipartite Ala graph, denoted as Ala ( m , G , k ) , where m and k are positive integers, and investigated various properties of this graph family, focused on Hamiltonian cycles and Eulerian properties.
If no two edges in a graph (G) share a vertex, the set of edges is called a matching. If a matching contains every vertex of G, it is considered as a perfect matching. If every vertex in a graph G appears exactly once in a cycle, the cycle is called a Hamiltonian cycle.
The following problem was asked by Ruskey and Savage [8]: for n 2 , does any matching in Q n extend to a Hamiltonian cycle of Q n ? Kreweras [9] conjectured that for n 2 , any perfect matching in Q n can be extended to a Hamiltonian cycle of Q n . This conjecture was proved by Fink [10,11] and strengthened for K ( Q n ) . K ( Q n ) is a complete graph of the vertices of hypercube Q n .
Theorem 1
([10,11]). For n 2 and every perfect matching P of K ( Q n ) , there exists a perfect matching R of Q n such that P R extends to a Hamiltonian cycle in K ( Q n ) .
Gregor [12] strengthens the Fink result [10] and finds that when we split the hypercube into subcubes of non-zero dimensions, every perfect matching of the hypercube extends to a Hamiltonian cycle if and only if the matching interconnects these subcubes. Regarding perfect matchings, Dimitrov et al. [13] showed that for a given perfect matching P in Q n , a Hamiltonian cycle that does not contain any edge from P exists if and only if the graph Q n P is connected.
In the study of Hamiltonian cycles in hypercubes, both long edges and short edges play crucial roles. A long edge in a hypercube ( Q n ) typically refers to an edge connecting two vertices that differ in more than one coordinate; in other words, their Hamming distance is greater than 1. In contrast, a short edge connects vertices that differ in exactly one coordinate, which corresponds to the standard edges of the hypercube. Moreover, Fink [10] established that the following result holds for n { 2 , 3 , 4 } . Later, Wang and Zhao [14] extended the proof to the 5-cube.
Theorem 2
([10,14]). For n { 2 , 3 , 4 , 5 } , any matching in Q n extends to a Hamiltonian cycle of Q n .
Since in Q n , not every matching is perfect or extendable to a perfect matching, Limaye and Sarvate, in [15], showed that matching in Q n is k-extendable for k < n ; also, any matching is extendable to a perfect matching of size n if and only if it does not cover the neighborhood of an uncovered vertex. Moreover, Vandenbussche and West [16] proved that the extendability of matching M (with vertex set U) is k-suitable if the graph G U contains no deficient set less than k. For f k ( n ) as the largest value of r, any k-suitable matching with at most f k ( n ) = k ( n k ) + k 1 2 for k n 3 is extendable to a perfect matching. It is important to note that a positive solution for a matching that extends to a perfect matching is the induced matching [16]. However, this result does not completely solve the problem, as hypercubes of a matching extending to the maximal matching by inclusion (i.e., adding more edges of M) may still not be perfect. Thus, the kind of matching we are focusing on is not extendable to perfect matching.
Dvořák [5] showed that for all n 2 , any set of at most 2 n 3 edges in the hypercube Q n , where the edges form vertex-disjoint paths, can be extended to a Hamiltonian cycle of Q n . As a corollary, this implies that matching in Q n with no more than 2 n 3 edges can be extended to a Hamiltonian cycle. The authors in [17] proved that for n 4 , every matching of at most 3 n 10 edges in Q n extended to a Hamiltonian cycle of Q n . Dvořák and Fink [18] showed that matchings of a size bounded by an O ( n 2 ) function in K ( Q n ) for n 5 , extend to a Hamiltonian cycle, using the edges of Q n .
Fink proved that every perfect matching in Q n extends to a Hamiltonian cycle. The broader question, posed by Ruskey and Savage, of whether every matching in Q n extends to a Hamiltonian cycle remains unresolved for general matchings. A solution is only known for some particular cases, including perfect matchings, linear matchings, and matchings of a quadratic size. In this paper, we consider Q n for n 3 and show that any matching consisting of edges of at most six types, which does not cover every pair of vertices at a distance of 3, extends to a Hamiltonian cycle. Section 2 contains preliminaries and lemmas, while Section 3 presents the extension of the given conditional matching to a Hamiltonian cycle.

2. Preliminaries and Lemmas

Terminology and notation used in this paper are defined as follows: terms that remain undefined can be found in [19]. The vertex and edge sets of graph G are denoted by V ( G ) and E ( G ) , respectively. Given a set S E ( G ) , graph G S is obtained by removing all edges of S from G. Let H and H be two subgraphs of G. We use H + H to denote the graph formed by combining vertex set V ( H ) V ( H ) and edge set E ( H ) E ( H ) . For a set S E ( G ) , H + S denotes the graph with the vertex set V ( H ) V ( S ) and edge set E ( H ) S , where V ( S ) denotes the set of vertices incident to the edges in S.
The distance between vertices u and v is the number of edges in the shortest path connecting u and v in G, denoted by d G ( u , v ) , with the subscript omitted when the context is clear. For every i [ n 1 ] , a path between two vertices, a and b, represented as P a b , is a set of unique vertices a = v 1 , v 2 , , v n = b and edges v i v i + 1 . A path P a a is composed of only a single vertex a if a = b , and n = 1 . When two paths P a b and P c d do not share any vertex and vertices b, c are adjacent, the combined path P a b + P c d represents a new path from a to d, created by joining P a b and P c d . A path P is considered a subpath of another path P if P is a subgraph of P .
The n-dimensional hypercube Q n has a vertex set V and edge set E. The expression χ ( u ) = i = 1 n u i (mod 2) provides the parity of the vertex u. There are equal numbers of vertices 2 n 1 with parities of 1 and 0. These vertices are often labeled black and white, respectively. Because Q n is bipartite, the vertices of the hypercube Q n can be separated into two sets according to their parity. Hence, χ ( x ) χ ( y ) if and only if d ( x , y ) is odd.
An edge is a j-edge in the hypercube Q n for each j [ n ] , implying that the endpoints of the edge differ only in the j-th coordinate. The set of all such j-edges in Q n is denoted as E j . Consequently, the complete set of edges in Q n expressed as the union of all j-edges: E ( Q n ) = j = 1 n E j . Based on the vertex sets { u V ( Q n ) : u j = 0 } and { u V ( Q n ) : u j = 1 } , respectively. We consider the subcubes Q n j 0 and Q n j 1 , which are isomorphic subcubes of Q n produced by deleting the j-edges. This relationship can be written as Q n E j = Q n j 0 + Q n j 1 . Additionally, let Q m ϵ L and Q m ϵ R represent the subgraphs of Q n j , where ϵ { 0 , 1 } . Both Q m ϵ L and Q m ϵ R are isomorphic, with L and R indicating the left and right orientations.
Wang and Zhang obtained the following results [20]: matching M in Q 3 { u , v } extends to a spanning 2-path, and the matching in Q n u extends to the Hamiltonian path. Similarly, in this section, the results show a matching extension to the Hamiltonian path and spanning 2 paths in small cubes.
Lemma 3
([20]). Let u, v, x, y be pairwise distinct vertices in Q 3 such that χ ( u ) = χ ( v ) χ ( x ) = χ ( y ) , and let M be matching in Q 3 { u , v } with d ( u , x ) = d ( v , y ) = 1 . Then, there exists a spanning 2-path P u x + P v y in Q 3 passing through M.
Lemma 4
([20]). Let u , v V ( Q n ) for n { 3 , 4 } , such that χ ( u ) χ ( v ) and M is a matching in Q n u . Then, Q n contains a Hamiltonian path passing through M, connecting u and v.
Theorem 5
([5]). Let n 2 , and let F E ( Q n ) such that | F | 2 n 3 . If F is a linear forest, then there exists a Hamiltonian cycle in Q n that contains every edge in F.
Lemma 6
([20,21]). Let x and y be vertices in Q n for n { 3 , 4 } such that χ ( x ) = χ ( y ) and M matching in Q 4 x . Then there exists a spanning 2-path P x y + P u v that passes through M, where u and v are two distinct vertices such that χ ( u ) = χ ( v ) χ ( x ) .
Lemma 7
([21]). Let u , x , y be three distinct vertices in Q 3 such that χ ( u ) χ ( x ) = χ ( y ) . Suppose M is a matching in Q 3 u , then there exists a spanning ( { u , v } , { x , y } ) -path P u , * + P v , * , where v V ( Q 3 ) is a vertex satisfying χ ( v ) = χ ( u ) .
Lemma 8
([21]). Let u , v , x , y be four pairwise distinct vertices in the three-dimensional hypercube Q 3 , such that χ ( u ) = χ ( v ) χ ( x ) = χ ( y ) . Suppose that M is a matching in the subgraph Q 3 { u , v } . Then, there exists a spanning ( { u , v } , { x , y } ) -path P u , * + P v , * in Q 3 that contains all edges of M.
Lemma 9
([21]). If M is a matching in Q 3 , then there exist two distinct Hamiltonian paths in Q 3 starting at vertex u, each ending at a different vertex, such that both paths include all edges of M.
Lemma 10.
Let u, v, x, and y be pairwise distinct vertices in Q 4 such that χ ( x ) = χ ( y ) χ ( u ) = χ ( v ) . If M 5 is a matching in Q 4 { u , v } , then there is a spanning 2-path P u x + P v y in Q 4 containing M such that d ( u , x ) = d ( v , y ) = 1 .
Proof. 
Choose j [ 4 ] such that | M E j | is as small as possible. As M is a given matching, and thus | M | 5 , it follows that | M E j | 1 . If M contains no edge from E j , we may assume without loss of generality that j = 4 . In the case where | M E j | = 1 , M must include exactly one edge from each E i for all i [ 4 ] . Thus, there are four possible choices for j, and we can select one such that the corresponding edge in M E j is not incident with either x or y. Next, Q 4 is decomposed into two subcubes Q 3 0 and Q 3 1 along the edge set E 4 . Using the vertex-transitivity of Q 4 , we may assume that vertex u V ( Q 3 0 ) .
Case 1. M E j = .
Subcase 1.1. v V ( Q 3 1 ) .
Given that χ ( u ) = χ ( v ) χ ( x ) = χ ( y ) and that both u and v are uncovered by M, the lemma’s statement is symmetric for pairs { u , v } and { x , y } . Therefore, we only need to consider the following two cases.
Subcase 1.1.1. x V ( Q 3 0 ) , y V ( Q 3 1 ) (or y V ( Q 3 0 ) , x V ( Q 3 1 ) ).
Because χ ( u ) = χ ( v ) χ ( x ) = χ ( y ) and matching M is in Q 4 { u , v } , Lemma 4 ensures that there exists a Hamiltonian path P u x 0 in Q 3 0 and another path P v y 1 in Q 3 1 , such that P u x 0 and P v y 1 pass through matchings M 0 and M 1 , respectively. Thus, the required spanning path is P u x 0 + P v y 1 .
Subcase 1.1.2. { x , y } V ( Q 3 0 ) (or { x , y } V ( Q 3 1 ) ).
Since u V ( M ) and χ ( u ) χ ( x ) = χ ( y ) , by Lemma 7, there exists a spanning 2-path P u s 0 + P x y in Q 3 0 passing through M 0 , where s 0 V ( Q 3 0 ) satisfies χ ( s 0 ) = χ ( u ) . Furthermore, since v V ( M ) and χ ( v ) χ ( s 1 ) , by Lemma 4, there exists a Hamiltonian path P v s 1 1 in Q 3 1 that contains M 1 . Consequently, the required spanning path is P u x 0 + P s 0 y 0 + P v s 1 1 + s 0 s 1 .
Subcase 1.2. v V ( Q 3 0 )
Subcase 1.2.1. x V ( Q 3 0 ) , y V ( Q 3 1 ) (or y V ( Q 3 0 ) , x V ( Q 3 1 ) )
By Lemma 9, there exists a Hamiltonian path P s 1 y 1 in Q 3 1 that includes the matching M 1 for some i { 1 , 2 } , where s 1 1 and s 1 2 are two distinct vertices in Q 3 1 satisfying χ ( s 1 1 ) = χ ( s 1 2 ) χ ( y ) . Choose an index i such that s 0 i x ; without loss of generality, let i = 1 . Because M is a matching in Q 3 0 { u , v } and χ ( u ) = χ ( v ) χ ( x ) = χ ( s 0 1 ) , by Lemma 3, there exists a spanning 2-path P u x + P v s 0 1 in Q 3 0 containing M 0 . Thus, the required spanning 2-path is P u x 0 + P v s 0 1 0 + P s 1 1 y 1 + { s 0 s 1 } .
Subcase 1.2.2: { x , y } V ( Q 3 1 )
Because χ ( x ) = χ ( y ) , Lemma 6 implies the existence of a spanning 2-path P x s 1 1 + P y t 1 1 in Q 3 1 containing M 1 , where s 1 and t 1 are distinct vertices in Q 3 1 satisfying χ ( s 1 ) = χ ( t 1 ) χ ( x ) . Because M is a matching in Q 3 0 { u , v } and χ ( u ) = χ ( v ) χ ( s 0 ) = χ ( t 0 ) , Lemma 3 provides a spanning 2-path P u v 0 + P s 0 t 0 0 in Q 3 0 that contains M 0 . Therefore, the resulting spanning 2-path is P u x 0 + P v y 0 + P x s 1 1 + P y t 1 1 + { s 0 s 1 , t 0 t 1 } .
Subcase 1.2.3. { x , y } V ( Q 3 0 ) .
If | M 1 | = 4 , then | M 0 | = 1 . According to Theorem 2, there exists a Hamiltonian cycle C 1 in Q 3 1 that passes through M 1 . Since M 1 is a perfect matching and | E ( C 1 ) M 1 | 2 1 , we can choose an edge s 1 t 1 E ( C 1 ) M 1 such that { s 0 , t 0 } { u , v } = . Given χ ( u ) = χ ( v ) χ ( x ) = χ ( y ) , Lemma 3 ensures the existence of a spanning 2-path is P u x + P v y in Q 3 0 that includes the edge s 0 t 0 . Thus, the spanning path in Q 4 is P u x 0 + P v y 0 + C 1 + { s 0 s 1 , t 0 t 1 } { s 0 t 0 , s 1 t 1 } .
If | M 1 | 3 , we claim that at most one edge e E ( Q 3 1 ) M 1 exists such that M 1 { e } is not part of any Hamiltonian cycle in Q 3 1 . For | M 1 | 2 , any e E ( Q 3 1 ) M 1 ensures M 1 { e } is a linear forest with at most three edges. By Theorem 5, such a forest is always included in a Hamiltonian cycle. For | M 1 | = 3 , there are exactly three non-isomorphic size-3 matchings in Q 3 , labeled P 1 , P 2 , and P 3 (see Figure 1). Checking each possible pair ( M 1 , e ) confirms this claim (see Figure 1).
Using Lemma 3 again, since M 0 Q 3 0 { u , v } , there exists a spanning 2-path P u v + P x y in Q 3 0 that contains M 0 . Because the path contains more than | M 0 | + | M 1 | + 1 edges, there is an edge s 0 t 0 E ( P u x 0 + P v y 0 ) M 0 such that s 1 t 1 M 1 and M 1 + { s 1 t 1 } lies in some Hamiltonian cycle C 1 of Q 3 1 . Therefore, the required spanning path in Q 4 is P u x 0 + P v y 0 + C 1 + { s 0 s 1 , t 0 t 1 } { s 0 t 0 , s 1 t 1 } .
Case 2. | M E 4 | = 1 . Let M E 4 = { w 0 w 1 } . Note that { w 0 , w 1 } { x , y } = .
Subcase 2.1. v V ( Q 3 1 ) .
Subcase 2.1.1. x V ( Q 3 0 ) , y V ( Q 3 1 ) (or x V ( Q 3 1 ) , y V ( Q 3 0 ) ).
Now χ ( w 0 ) = χ ( u ) or χ ( w 1 ) = χ ( v ) . Without loss of generality, we assume χ ( w 0 ) = χ ( u ) . Since v V ( M 1 ) , by Lemma 4, there exists a Hamiltonian path P v y 1 of Q 3 1 passing through M 1 . Let s 1 be a neighbor of w 1 such that s 0 x . If s 1 V ( P v y 1 ) , then because M 0 is a matching in Q 3 0 { u , w 0 } , and χ ( w 0 ) = χ ( u ) χ ( x ) = χ ( s 0 ) , by Lemma 3 there exists a spanning 2-path P u x + P w 0 s 0 of Q 3 0 passing through M 0 . Hence the desired spanning 2-path P u x + P v y of Q 4 is P u x 0 + P w 0 s 0 0 + P v y 1 + { s 0 s 1 , w 0 w 1 } { s 1 w 1 } .
Subcase 2.1.2. { x , y } V ( Q 3 1 ) (or { x , y } V ( Q 3 0 ) ).
If χ ( w 0 ) χ ( u ) , then χ ( v ) = χ ( w 1 ) . Because M 1 is a matching in Q 3 1 { v , w 1 } and χ ( v ) = χ ( w 1 ) χ ( x ) = χ ( y ) , by Lemma 8 there exists a spanning 2-path P v y + P w 1 x in Q 3 1 through M 1 . Since M 0 is a matching in Q 3 0 u and χ ( u ) χ ( w 0 ) , by Lemma 4, there exists a Hamiltonian path P u w 0 0 in Q 3 0 through M 0 . Hence the desired spanning path is P u w 0 0 + P v y + P w 1 x + { w 0 w 1 } .
If χ ( w 0 ) = χ ( u ) , then since v V ( M 1 ) and χ ( v ) χ ( x ) = χ ( y ) , by Lemma 7, there exists a spanning 2-path P v y 1 + P x s 1 1 in Q 3 1 through M 1 with p ( s 1 ) = p ( v ) . If w 1 V ( P v y 1 ) , let t 1 be the neighbor of w 1 on P v y 1 . Because χ ( u ) = χ ( w 0 ) χ ( s 0 ) = χ ( t 0 ) and M 0 is a matching in Q 3 0 { u , w 0 } , by Lemma 8, there exists a spanning 2-path P u s 0 0 + P t 0 w 0 0 of Q 3 0 through M 0 . The resulting spanning path is P u s 0 0 + P t 0 w 0 0 + P v y 1 + P s 1 x 1 + { w 0 w 1 , t 0 t 1 , s 0 s 1 } { t 1 w 1 } .
Subcase 2.2. v V ( Q 3 0 ) and p ( u ) p ( w 0 ) .
Subcase 2.2.1. x V ( Q 3 0 ) , y V ( Q 3 1 ) (or y V ( Q 3 0 ) , x V ( Q 3 1 ) ).
Because M 1 is a matching in Q 3 1 w 1 and χ ( y ) χ ( w 1 ) , by Lemma 4, there exists a Hamiltonian path P w 1 y 1 in Q 3 1 passing through M 1 . Because M 0 is a matching in Q 3 0 { u , v } and χ ( u ) = χ ( v ) χ ( x ) = χ ( w 0 ) , by Lemma 8, there exists a spanning P u x + P v w 0 in Q 3 0 . The desired path is P u x 0 + P v w 0 0 + P w 1 y 1 + { w 0 w 1 } .
Subcase 2.2.2. { x , y } V ( Q 3 0 ) .
Because M 0 is a matching in Q 3 0 { u , v } and χ ( u ) = χ ( v ) χ ( x ) = χ ( y ) , by Lemma 8, there exists a spanning P u x 0 + P v y 0 . Let s 0 be a neighbor of w 0 in this path. Because p ( w 1 ) p ( s 1 ) and M 1 is a matching in Q 3 1 w 1 , by Lemma 4, there exists a Hamiltonian path P w 1 s 1 1 through M 1 . The desired path is P u x 0 + P v y 0 + P w 1 s 1 1 + { w 0 w 1 , s 0 s 1 } { w 0 s 0 } .
Subcase 2.2.3. { x , y } V ( Q 3 1 ) .
Because χ ( w 1 ) χ ( x ) = χ ( y ) and M 1 is a matching in Q 3 1 w 1 , by Lemma 7, there exists a spanning 2-path P x w 1 1 + P y s 1 1 in Q 3 1 with χ ( s 1 ) = χ ( w 1 ) . Since M 0 is a matching in Q 3 0 { u , v } , by Lemma 8, there exists a spanning P u w 0 0 + P v s 0 0 in Q 3 0 . The complete path is P x w 1 1 + P y s 1 1 + P u w 0 0 + P v s 0 0 + { w 0 w 1 , s 0 s 1 } .
Subcase 2.3. v V ( Q 3 0 ) and χ ( u ) = χ ( w 0 ) .
We divide Q 4 into subcubes Q 3 0 and Q 3 1 by E 3 such that | M E 3 | 2 . Let M E 3 = { w 0 w 1 } , where w 0 V ( Q 3 0 ) . From the beginning of this Lemma, { w 0 , w 1 } { x , y } = .
Subcase 2.3.1: v V ( Q 3 1 , 3 )
In this case, the vertices u , v , x , y , w 0 , w 1 correspond to the roles played by u , v , x , y , w 0 , w 1 in Subcase 2.1. Given that { w 0 , w 1 } { x , y } = and, similarly, { w 0 , w 1 } { x , y } = , the configuration is equivalent to that considered in Subcase 2.1. Thus, the result directly follows from the conclusion established in the subcase.
Subcase 2.3.2: v V ( Q 3 0 , 3 ) and χ ( u ) = χ ( v ) χ ( w 0 )
Here, we interpret the vertices u , v , x , y , w 0 , w 1 in the same manner as in Subcase 2.2. The conditions { w 0 , w 1 } { x , y } = and { w 0 , w 1 } { x , y } = ensure that the structure is consistent with that in Subcase 2.2. Hence, the corresponding conclusion applies to this case.
Subcase 2.3.3: v V ( Q 3 0 , 3 ) and χ ( u ) = χ ( v ) = χ ( w 0 )
Since u , v V ( Q 3 0 , 4 ) V ( Q 3 0 , 3 ) and given that χ ( u ) = χ ( v ) = χ ( w 0 ) , w 0 V ( Q 3 0 , 4 ) and χ ( w 0 ) = χ ( u ) . Now consider M { w 0 w 1 , w 0 w 1 } . The remaining edges must be in E 1 E 2 . Given that | M E 1 | = 2 , and | M E 2 | = 1 , there are two possible matchings for M.
We proceed by analyzing two cases depending on the placement of the vertices x and y. If either the edge from M E 1 or from M E 2 is not adjacent to x or y, assume without loss of generality that the edge in M E 1 is not incident to { x , y } . In this case, Q 4 is decomposed along E 1 , resulting in u V ( Q 3 0 , 1 ) and v V ( Q 3 1 , 1 ) . The configuration of u , v , x , y are now the same as that of Subcase 2.1, and we may apply the same reasoning. In the alternative situation where both edges in M E 1 and M E 2 are incident to { x , y } , note that χ ( u ) = χ ( v ) χ ( x ) = χ ( y ) . Consequently, a spanning 2-path P u x + P v y exists in Q 4 that containing M (see Figure 2). □
The following lemma extends the given kind of matching M to a Hamiltonian path P u v in hypercube Q 5 , ensuring that vertex u is not included as an endpoint of any edge of M.
Lemma 11.
If u , v Q 5 and a matching M does not cover every two vertices at a distance of 3, in Q 5 u such that χ ( u ) χ ( v ) . Then there exists a Hamiltonian path in which P u v contains M.
Proof. 
Consider a matching M in Q 5 u such that M does not cover every pair of vertices at a distance of three. Let j [ 5 ] denote the edges with endpoints that differ in the j-th position, and choose a direction j such that | M E j | is as small as possible. Since | M E j | 1 , we will discuss all cases. By removing the set of edges E j , we split Q 5 into the subcubes Q 4 0 and Q 4 1 . By symmetry, we may assume that vertex u Q 4 0 . Define M ϵ = M E ( Q 4 ϵ ) for each ϵ { 0 , 1 } and, by symmetry, assume | M 0 | | M 1 | . It is important to note that each vertex x ϵ V ( Q 4 ϵ ) has a unique neighbor, denoted x 1 ϵ , in Q 4 1 ϵ , where ϵ { 0 , 1 } .
Case 1. M E j = .
Subcase. 1.1. u V ( Q 4 0 ) and v V ( Q 4 1 ) or ( v V ( Q 4 0 ) and u V ( Q 4 1 ) ).
Because M 1 is a matching in Q 4 1 , by Theorem 2, a Hamiltonian cycle C 1 exists in Q 4 1 containing the edges of M 1 . Given that v V ( Q 4 1 ) and u V ( Q 4 0 ) , there exists a neighbor s 1 of v such that χ ( u ) χ ( s 0 ) and v s 1 M . We have χ ( u ) χ ( s 0 ) and u V ( M 0 ) with χ ( v ) χ ( u ) and χ ( s 1 ) χ ( s 0 ) . By Lemma 4, there exists a Hamiltonian path P u s 0 that includes the edges of M 0 in Q 4 0 . Thus, the required Hamiltonian path is P u v : = P u s 0 + C 1 + { s 0 s 1 } { v s 1 } in Q 5 containing M.
Subcase. 1.2. u , v V ( Q 4 0 )
We observe that the matching M in Q 5 u satisfies M E j = , to investigate the case when v , u V ( Q 4 0 ) . Since u V ( M 0 ) and χ ( u ) χ ( v ) . We have, M 0 is a matching in Q 4 0 u . By Lemma 4, there is a Hamiltonian path P u v in Q 4 0 that contains the edges of M 0 . Because M 1 is not perfect, there exists an edge s 0 t 0 E ( P u v ) M 0 in P u v , and s 1 M 1 . Similarly, by Lemma 4, the edges of M 1 extend to a Hamiltonian path P s 1 t 1 in Q 4 1 s 1 . Consequently, P u v + P s 1 t 1 + { s 0 s 1 , t 0 t 1 } { s 0 t 0 } is the desired Hamiltonian path in Q 5 containing M.
Case 2. If | M E j | = 1 .
Subcase. 2.1. u V ( Q 4 0 ) and v V ( Q 4 1 ) or ( v V ( Q 4 0 ) and u V ( Q 4 1 ) ).
Since u V ( Q 4 0 ) and v V ( Q 4 1 ) , let M E j = w 0 w 1 . If χ ( w 0 ) χ ( u ) , this implies χ ( w 1 ) χ ( v ) such that χ ( v ) χ ( u ) and χ ( w 1 ) χ ( w 0 ) . Given that u V ( M 0 ) and w 1 V ( M 1 ) , by Lemma 4, Hamiltonian paths P u w 0 in Q 4 0 and P w 1 v in Q 4 1 pass through M 0 and M 1 , respectively. Thus, the edges of P u w 0 + P w 1 v + { w 0 w 1 } construct the desired Hamiltonian path in Q 5 passing through M.
If χ ( w 0 ) = χ ( u ) and χ ( w 1 ) = χ ( v ) , M 1 is a matching in Q 4 1 w 1 and | M 0 | | M 1 | . Choose s 1 and t 1 are chosen as distinct vertices in Q 4 1 such that χ ( s 1 ) = χ ( t 1 ) χ ( w 1 ) . According to Lemma 6, there exists a spanning 2-path P w 1 v + P s 1 t 1 in Q 4 1 that includes the edges of M 1 , Therefore, we have χ ( u ) = χ ( w 0 ) and χ ( s 0 ) = χ ( t 0 ) . Because s 0 t 0 , obtain d ( u , s 0 ) = d ( w 0 , t 0 ) = 1 in the subcube Q 4 0 . Now, M 0 is matching in Q 4 0 { u , w 0 } , by Lemma 10, and there exists a spanning 2-path P u s 0 + P w 0 t 0 in Q 4 0 passing through M 0 . Therefore, the desired Hamiltonian path in Q 5 is P u s 0 + P w 0 t 0 + P s 1 t 1 + P w 1 v + { s 0 s 1 , t 0 t 1 , w 0 w 1 } containing M.
Subcase. 2.2. u , v V ( Q 4 0 )
Since M E j = { w 0 w 1 } and w 0 V ( Q 4 0 ) , according to Lemma 4, there exists a Hamiltonian path P u v in Q 4 0 containing M 0 . Let r 0 be w 0 neighbor of P u v . We have w 0 r 0 M , and w 0 w 1 M . We have w 1 V ( M 1 ) and χ ( w 1 ) χ ( r 1 ) . Again by Lemma 4, there exists a Hamiltonian path P w 1 r 1 in Q 4 1 that contains the edges of M 1 . Therefore, the required Hamiltonian path in Q 5 is P u v + P w 1 r 1 + { w 0 w 1 , r 0 r 1 } { w 0 r 0 } .
Case 3. | M E j | = 2 .
Suppose M E 5 = { w 0 w 1 , z 0 z 1 } , in this case, we can split Q 5 into subcubes Q 4 0 and Q 4 1 such that vertices u , v both are in same subcube; by symmetry, we can consider u , v V ( Q 4 1 ) such that | M E j | = 2 . In this study, we considered two cases.
If χ ( w ϵ ) χ ( z ϵ ) for ϵ [ 0 , 1 ] , by Lemma 4, there exists a Hamiltonian path P w 0 z 0 in Q 4 0 w 0 that passes through M 0 . Let u and w 1 be the vertices of the subgraph Q 4 1 . Assume that M 1 is matching in Q 4 1 u ; Lemma 6 states that there is a spanning 2-path P u w 1 + P v z 1 that passes through M 1 , satisfying χ ( w 1 ) = χ ( u ) χ ( v ) . Therefore, the required path in Q 5 is P w 0 z 0 + P u w 1 + P v z 1 + { w 0 w 1 , z 0 z 1 } .
If χ ( w ϵ ) = χ ( z ϵ ) , since u , v V ( Q 4 1 ) , then by Lemma 4, there exists a Hamiltonian path P u v in Q 4 1 passing through M 1 . As vertices w 1 , z 1 are on path P u v . Suppose s 1 is a neighbor of z 1 and t 1 is a neighbor of w 1 on P u v such that χ ( w 1 ) = χ ( z 1 ) . Let z 0 , w 0 , t 0 , s 0 be pairwise distinct vertices in Q 4 0 . Suppose χ ( w 0 ) = χ ( z 0 ) and χ ( s 0 ) = χ ( t 0 ) such that d ( w 0 , t 0 ) = d ( z 0 , s 0 ) = 1 . Then by Lemma 10, there exists a spanning 2-path P w 0 t 0 + P z 0 s 0 in Q 4 0 passing through M 0 . Therefore, P u v + P w 0 t 0 + P z 0 s 0 + { w 0 w 1 , t 0 t 1 , z 0 z 1 , s 0 s 1 } { s 1 z 1 , t 1 w 1 } is the Hamiltonian path in Q 5 passing through M. □

3. Matchings in at Most Six Directions

In this section, we discuss matchings in the hypercube Q n that do not cover every pair of vertices at a distance of three and consist of edges in at most six directions. These matchings are not perfect due to the specified constraints, and their size is less than 2 n 2 edges in Q n . The following theorems demonstrate that any matching satisfying these conditions can be extended to a Hamiltonian cycle in Q n .
Theorem 12.
Every matching M in the hypercube Q 6 such that M does not cover every two vertices at a distance of three extends to a Hamiltonian cycle.
Proof. 
Suppose M is matching in the hypercube Q 6 with M matchings that do not cover every two vertices at a distance of three. Choose a direction j [ 6 ] , and split Q 6 into subcubes Q 5 0 and Q 5 1 such that | M E j | is as small as possible. For j = 6 such that | M E 6 | 3 , divide Q 6 E 6 into subcubes Q 5 ϵ and their respective matchings M ϵ where ϵ { 0 , 1 } , in these subcubes. Assume by symmetry | M 0 | | M 1 | . When | M E j | = 1 , we denote M E j = { u 0 u 1 } and M E j = 2 , and also denote M E j = { u 0 u 1 , v 0 v 1 } when M E j = 3 , then M E j = { u 0 u 1 , v 0 v 1 , w 0 w 1 } . Note that every vertex x ϵ V ( Q 5 ϵ ) has a distinct adjacent vertex, x 1 ϵ , within Q 5 1 ϵ , where ϵ { 0 , 1 } . The following four main cases assist M into the Hamiltonian cycle:
Case 1. M E j = .
Because | M 0 | | M 1 | , assume | M 1 | 15 , it indicates that M 1 is not a perfect matching. Assume the size of M 0 M 1 satisfies | M 0 M 1 | 20 . Consequently, Theorem 2 extends M 1 to a Hamiltonian cycle C 1 in Q 5 1 . For a vertex v 1 on C 1 , there is a neighboring vertex u 1 on C 1 such that u 1 v 1 M 1 and v 0 M 0 . Given that χ ( u 0 ) χ ( v 0 ) such that M 0 is matching in Q 5 0 v 0 . According to Lemma 11, there exists a Hamiltonian path P u 0 v 0 in Q 5 0 passing through M 0 . Thus, C 1 + P u 0 v 0 + { u 0 u 1 , v 0 v 1 } u 1 v 1 constructs a Hamiltonian cycle in Q 6 containing M, as depicted in Figure 3a.
Case 2. | M E 6 | = 1 .
We assume that M E 6 = { u 0 u 1 } . Because M 1 is matching in Q 5 1 , by Theorem 2, we can extend M 1 to a Hamiltonian cycle C 1 . Let v 1 be a neighbor of u 1 in Q 5 1 such that u 1 v 1 M 1 , there exists u 0 v 0 M 0 in Q 5 0 . Consequently, χ ( u 0 ) χ ( v 0 ) and χ ( u 1 ) χ ( v 1 ) , implying that M 0 is matching in Q 5 0 u 0 . By applying Lemma 11, there exists a Hamiltonian path P u 0 v 0 containing M 0 in Q 5 0 . Therefore, P u 0 v 0 + C 1 + { u 0 u 1 , v 0 v 1 } u 1 v 1 constitutes a Hamiltonian cycle containing M within hypercube Q 6 , as illustrated in Figure 3b.
Case 3. | M E 6 | = 2 .
Since M E 6 = { u 1 u 0 , v 1 v 0 } , where u ϵ and v ϵ belong to V ( Q 5 ϵ ) for ϵ { 0 , 1 } . If u 1 , v 1 are adjacent on a cycle such that χ ( u 1 ) χ ( v 1 ) , then the proof is similar to that of Case 2. Therefore, for further analysis, assume that u 1 , v 1 are non-adjacent and χ ( u 0 ) = χ ( v 0 ) , which means χ ( u 1 ) = χ ( v 1 ) , two vertices with the same color match. Given that | M 5 0 | | M 5 1 | , it follows that | M 5 1 | 15 . Thus, we conclude that | M | 20 , because i [ 5 ] | M E i | = | M 0 | + | M 1 | 18 .
Select a position k [ 5 ] to minimize | M E k | , such that | M E k | 3 . Without loss of generality, we choose k = 5 . Split Q 5 ϵ into their subcubes Q 4 ϵ L and Q 4 ϵ R at k = 5 for ϵ { 0 , 1 } . Therefore, Q 5 ϵ E k = Q 4 ϵ L + Q 4 ϵ R . Now, define M ϵ μ = M ϵ E ( Q 4 ϵ μ ) for every μ { L , R } , as shown in Figure 4. In V ( Q 4 ϵ L ) , every vertex a ϵ L is uniquely connected to a neighboring vertex a ϵ R in Q 4 ϵ R . Similarly, in V ( Q 4 ϵ R ) , every vertex b ϵ R is uniquely connected to a neighboring vertex b ϵ L in Q 4 ϵ L .
By symmetry, we may assume that | M 0 E 5 | | M 1 E 5 | . Moreover, it is clear that | M 0 E 5 | 1 , since the total number of edges satisfies | M E 5 | = | M 1 E 5 | + | M 0 E 5 | 3 . Assuming vertex u 0 V ( Q 5 0 ) , without loss of generality, consider u 0 V ( Q 4 0 L ) , thus u 1 V ( Q 4 1 L ) . We then consider two distinct subcases.
Subcase 3.1. v 1 V ( Q 4 1 R ) and v 0 V ( Q 4 0 R ) .
Subcase 3.1.1. M 0 E 5 = .
According to Theorem 2, a Hamiltonian cycle C 1 exists in Q 5 1 passing through M 1 . There exists a vertex x 1 adjacent to u 1 on C 1 that belongs to V ( Q 4 1 L ) , and y 1 is a neighbor of v 1 on C 1 in V ( Q 4 1 R ) . Given { v 0 v 1 , u 0 u 1 } M , we have { v 1 y 1 , u 1 x 1 } M = . Since χ ( x 0 ) χ ( u 0 ) and M 0 L is matching in Q 4 0 L u 0 , by Lemma 4, there exists a Hamiltonian path P u 0 x 0 in Q 4 0 L containing M 0 L . Similarly, there exists a Hamiltonian path P v 0 y 0 in Q 4 0 R containing M 0 R . Consequently, combining P v 0 y 0 + P u 0 x 0 + C 1 + { x 0 x 1 , u 0 u 1 , y 0 y 1 , v 0 v 1 } { v 1 y 1 , u 1 x 1 } constructs a Hamiltonian cycle in Q 6 containing M, as shown in Figure 5a.
Subcase 3.1.2. | M 0 E 5 | = 1 .
Let M 0 E 5 = { s 0 L s 0 R } , where s 0 μ V ( Q 4 0 μ ) for μ { L , R } . Given that χ ( u 0 ) = χ ( v 0 ) and χ ( s 0 L ) χ ( s 0 R ) , without loss of generality, assume χ ( u 0 ) = χ ( v 0 ) = χ ( s 0 L ) χ ( s 0 R ) .
First, we establish the existence of a Hamiltonian cycle C 1 extending M 1 , such that v 1 on C 1 has two consecutive vertices that both belong to V ( Q 4 1 R ) . If | M 1 E 5 | = 2 such that M 1 E 5 = { a 1 L a 1 R , b 1 L b 1 R } . If χ ( a 1 μ ) = χ ( b 1 μ ) , then by Theorem 2, there exists a Hamiltonian cycle C 1 , similar to Subcase 3.1.1. Suppose χ ( a 1 μ ) χ ( b 1 μ ) where a 1 μ V ( Q 4 1 μ ) given that | M 1 E 5 | = 1 such that M 1 E 5 = { a 1 L a 1 R } . Because a 1 R has four neighbors in Q 4 1 R , we select b 1 R , a neighbor of a 1 R , such that v 1 b 1 R . Consequently, it follows that χ ( a 1 μ ) χ ( b 1 μ ) for every μ { L , R } .
In the situation described above, there are matchings M 1 L and M 1 R in Q 4 1 L a 1 L and Q 4 1 R a 1 R , respectively. According to Lemma 4, there exist Hamiltonian paths P b 1 L a 1 L and P b 1 R a 1 R that are in Q 4 1 L and Q 4 1 R passing through M 1 L and M 1 R , respectively. We assume that C 1 = P a 1 R b 1 R + P a 1 L b 1 L + { b 1 L b 1 R , a 1 L a 1 R } . Since { v 1 v 0 , a 1 L a 1 R , b 1 L b 1 R } M , this implies y 1 { a 1 R , b 1 R } . Thus, both neighboring vertices of y 1 on C 1 belong to V ( Q 4 1 R ) , and there is a Hamiltonian cycle C 1 in Q 5 1 containing M 1 .
Choose a neighbor x 1 of u 1 on C 1 such that x 1 V ( Q 4 1 L ) , and a neighbor y 1 of v 1 on C 1 such that y 0 s 0 R . By Lemma 4 there exists a Hamiltonian path P v 0 y 0 in Q 4 0 R passing through M 0 R . Since M 0 R is a matching in Q 4 0 R v 0 . We choose a neighbor t 0 R of s 0 R on P v 0 y 0 such that t 0 L x 0 , since s 0 R { v 0 , y 0 } . The vertices u 0 , x 0 , s 0 L , and t 0 L are all distinct vertices in Q 4 0 L , such that χ ( u 0 ) = χ ( s 0 L ) , χ ( x 0 ) = χ ( t 0 L ) , and d ( u 0 , x 0 ) = d ( s 0 L , t 0 L ) = 1 . Since M 0 L is a matching in Q 4 0 L { u 0 , s 0 L } , and | M 0 L | | M 0 R | , by Lemma 10, there is a spanning 2-path P u 0 x 0 + P s 0 L t 0 L in Q 4 0 L passing through M 0 L . Consequently, P u 0 x 0 + C 1 + P s 0 L t 0 L + P v 0 y 0 + { x 0 x 1 , u 0 u 1 , v 0 v 1 , y 0 y 1 , s 0 L s 0 R , t 0 L t 0 R } { v 1 y 1 , u 1 x 1 , s 0 R t 0 R } constructs a Hamiltonian cycle in Q 6 passing through M, as shown in Figure 5b.
Subcase 3.2. v 1 V ( Q 4 1 L ) and v 0 V ( Q 4 0 L ) .
According to Theorem 2, a Hamiltonian cycle C 1 exists in Q 5 1 passing through M 1 . Let x 1 be a neighbor of u 1 on C 1 such that x 1 V ( Q 4 1 L ) , and let y 1 be a neighbor of v 1 on C 1 such that y 1 V ( Q 4 1 L ) . Thus, χ ( v 1 ) = χ ( u 1 ) and χ ( y 1 ) = χ ( x 1 ) . Moreover, we have d ( u 1 , x 1 ) = d ( v 1 , y 1 ) = 1 , and y 1 x 1 . These properties also apply to the corresponding vertices u 0 , x 0 , v 0 , y 0 . By symmetry, we may assume | M 0 L | | M 0 R | , and using Lemma 10, there exists a spanning 2-path P u 0 x 0 + P v 0 y 0 in Q 4 0 L that passes through M 0 L . We now consider two subcases.
Subcase 3.2.1. M 0 E 5 = .
Consider vertex s 0 L on the vertices of path P u 0 x 0 or P v 0 y 0 , where s 0 μ V ( Q 4 0 μ ) . Let s 0 L be in the vertices of path P v 0 y 0 and have a neighbor on P v 0 y 0 . We select a neighbor t 0 L of s 0 L V ( Q 4 0 L ) for every μ { L , R } such that χ ( s 0 μ ) χ ( t 0 μ ) . Because M 0 R is a matching in Q 4 0 R s 0 R , by Lemma 4, there exists a Hamiltonian path P s 0 R t 0 R in Q 4 0 R containing M 0 R . Then, P v 0 y 0 + P u 0 x 0 + P s 0 R t 0 R + C 1 + { u 0 u 1 , v 0 v 1 , x 0 x 1 , y 0 y 1 , s 0 R s 0 L , t 0 R t 0 L } { v 1 y 1 , u 1 x 1 , s 0 L t 0 L } is a Hamiltonian cycle in Q 6 passing through M, as shown in Figure 6.
Subcase 3.2.2. | M 0 E 5 | = 1 .
Let M 0 E 5 = { s 0 L s 0 R } , where s 0 μ V ( Q 4 0 μ ) . Given that the vertex s 0 L is either on P u 0 x 0 or P v 0 y 0 , we may assume s 0 L P v 0 y 0 and has a neighbor on P v 0 y 0 . Select a neighbor t 0 R of s 0 L V ( Q 4 0 L ) , for every μ { L , R } and holds that χ ( s 0 μ ) χ ( t 0 μ ) . Because M 0 R is a matching in Q 4 0 R s 0 R , by Lemma 4, there is a Hamiltonian path P s 0 R t 0 R in Q 4 0 R containing M 0 R . Thus, C 1 + P v 0 y 0 + P u 0 x 0 + P s 0 R t 0 R + { u 0 u 1 , v 0 v 1 , x 0 x 1 , y 0 y 1 , s 0 R s 0 L , t 0 R t 0 L } { v 1 y 1 , u 1 x 1 , s 0 L t 0 L } constructs a Hamiltonian cycle in Q 6 containing M. (The presentation of subcase 3.2.1 and subcase 3.2.2 is similar to that depicted in Figure 6).
Case 4. | M E 6 | = 3 .
Let M E 6 = { u 0 u 1 , v 0 v 1 , w 0 w 1 } , where u ϵ , v ϵ , w ϵ V ( Q 5 ϵ ) . Given that | M E i | = 3 for i [ 6 ] , divide Q 6 at position i = 6 and assume that | M 5 0 | | M 5 1 | , and it follows that | M 5 1 | 13 . Thus, | M | 20 , since i [ 5 ] | M E i | = | M 0 | + | M 1 | 17 . Hence, we distinguish this case in two ways. If two vertices from { u ϵ , v ϵ , w ϵ } are in one partite set while the remaining vertex is in the other partite set such that χ ( u ϵ ) = χ ( v ϵ ) χ ( w ϵ ) . If all three vertices u ϵ , v ϵ , w ϵ are in the same partite set then, χ ( u ϵ ) = χ ( v ϵ ) = χ ( w ϵ ) .
Subcase 4.1. If two vertices are in one partite set.
Because χ ( u ϵ ) = χ ( v ϵ ) χ ( w ϵ ) . Splitting Q 5 ϵ into 4-cube Q 4 ϵ L and Q 4 ϵ R at position k such that u ϵ V ( Q 4 ϵ L ) and v ϵ V ( Q 4 ϵ R ) . Without loss of generality, let k = 5 . Since χ ( u ϵ ) = χ ( v ϵ ) χ ( w ϵ ) , by symmetry, we may suppose w ϵ V ( Q 4 ϵ L ) . Given that | M 0 E 5 | + | M 1 E 5 | = | M E 5 | = 3 , similarly, assume | M 0 E 5 | 1 . Let M ϵ μ = M ϵ E ( Q 4 ϵ μ ) for every μ { R , L } .
Subcase 4.1.1. M 0 E 5 = .
Given that χ ( u 1 ) χ ( w 1 ) and M 1 is a matching in Q 5 1 u 1 , by Lemma 11, there exists a Hamiltonian path P u 1 w 1 in Q 5 1 containing M 1 . Since v 1 has only one adjacent vertex in Q 4 1 L , we choose a neighbor y 1 of v 1 on P u 1 w 1 such that y 1 V ( Q 4 1 R ) . Given that y 0 V ( Q 4 0 R ) and χ ( u 0 ) = χ ( v 0 ) χ ( w 0 ) = χ ( y 0 ) , note that M 0 L is a matching in Q 4 0 L u 0 ; while M 0 R is matching in Q 4 0 R v 0 , by Lemma 4, there exists a Hamiltonian paths P u 0 w 0 in Q 4 0 L and P v 0 y 0 in Q 4 0 R , containing M 0 L and M 0 R , respectively. Consequently, P u 1 w 1 + P u 0 w 0 + P v 0 y 0 + { u 0 u 1 , w 0 w 1 , v 0 v 1 , y 0 y 1 } { v 1 y 1 } constitutes a Hamiltonian cycle in Q 6 that contains M, illustrated in Figure 7a.
Subcase 3.1.2. | M 0 E 5 | = 1 and | M 1 E 5 | = 2 .
Let M 0 E 5 = { s 0 L s 0 R } and M 1 E 5 = { a 1 L a 1 R , b 1 L b 1 R } , where s 0 μ V ( Q 4 0 μ ) and a 1 μ , b 1 μ V ( Q 4 1 μ ) . If χ ( a 1 L ) χ ( b 1 L ) and χ ( u 1 ) χ ( w 1 ) , without loss of generality, we may assume χ ( u 1 ) = χ ( b 1 L ) and χ ( w 1 ) = χ ( a 1 L ) . Consequently, χ ( v 1 ) = χ ( a 1 R ) χ ( b 1 R ) .
We claim that Q 5 1 contains a Hamiltonian cycle C 1 containing M 1 , with both neighbors of v 1 on C 1 also belonging to V ( Q 4 1 R ) . Given that | M 1 E 5 | = 2 , it follows that | M E 5 | = 3 . Consequently, | M E i | = 3 for every i [ 5 ] . Let M 1 E 5 = { a 1 L a 1 R , b 1 L b 1 R } , where a 1 μ , b 1 μ V ( Q 4 1 μ ) . Therefore, χ ( a 1 μ ) χ ( b 1 μ ) for every μ { L , R } .
If | M 1 E 5 | = 1 , then denote M 1 E 5 = { a 1 L a 1 R } , where a 1 μ V ( Q 4 1 μ ) . We choose a neighbor b 1 R of a 1 R in Q 4 1 R such that b 1 R v 1 , since a 1 R has four neighbors in Q 4 1 R . Thus, for every μ { L , R } , χ ( a 1 μ ) χ ( b 1 μ ) .
For the above two cases, since M 1 μ is matching in Q 4 1 μ a 1 μ , by Lemma 4, the Hamiltonian paths P a 1 μ b 1 μ in Q 4 1 μ passing through M 1 μ and u 1 w 1 for each μ { L , R } . Let C 1 = P a 1 L b 1 L + P a 1 R b 1 R + { a 1 L a 1 R , b 1 L b 1 R } . In the first case, since { u 0 u 1 , v 0 v 1 , a 1 L a 1 R , b 1 L b 1 R } M , we deduce that v 1 { a 1 R , b 1 R } . In the second case, because { u 0 u 1 , v 0 v 1 , a 1 L a 1 R } M , we find v 1 a 1 R ; consequently, v 1 { a 1 R , b 1 R } . Since u 1 w 1 is an edge in Q 4 1 L , by Theorem 2, construct a Hamiltonian cycle C 1 in Q 5 1 that includes M 1 and u 1 w 1 , ensuring that the two neighbors of v 1 on C 1 are both vertices in V ( Q 4 1 R ) .
Because u 1 w 1 is an edge in Q 4 1 L , a Hamiltonian cycle C 1 passes through this edge. Select a neighbor y 1 of v 1 on C 1 such that y 0 s 0 R . Given that M 0 R is a matching in Q 4 0 R v 0 , according to Lemma 4, there exists a Hamiltonian path P v 0 y 0 in Q 4 0 R containing M 0 R . Since s 0 R { v 0 , y 0 } , we select a neighbor t 0 R of s 0 R on P v 0 y 0 such that t 0 L w 0 . Now, u 0 , w 0 , s 0 L , t 0 L are pairwise distinct vertices in Q 4 0 L , such that χ ( u 0 ) = χ ( s 0 L ) and χ ( w 0 ) = χ ( t 0 L ) with d ( u 0 , w 0 ) = d ( s 0 L , t 0 L ) = 1 . Since M 0 L is a matching in Q 4 0 L { u 0 , s 0 L } and | M 0 L | | M 0 R | , by Lemma 10, there exists a spanning 2-path P u 0 w 0 + P s 0 L t 0 L in Q 4 0 L containing M 0 L . Hence, P u 0 w 0 + C 1 + P s 0 L t 0 L + P v 0 y 0 + { w 0 w 1 , u 0 u 1 , v 0 v 1 , y 0 y 1 , s 0 L s 0 R , t 0 L t 0 R } { v 1 y 1 , u 1 w 1 , s 0 R t 0 R } constitutes a Hamiltonian cycle in Q 6 containing M. (Note that the structure is analogous to subcase 3.1 in Subcase 3.1.2; readers can refer to the diagram (b) in Figure 5 by replacing x ϵ by w ϵ for more detail.)
Now, if χ ( a 1 L ) = χ ( b 1 L ) and χ ( u 1 ) χ ( w 1 ) , without loss of generality, we may assume χ ( u 1 ) = χ ( b 1 L ) and χ ( w 1 ) = χ ( a 1 L ) . Consequently, χ ( v 1 ) = χ ( a 1 R ) = χ ( b 1 R ) .
We know that vertices w 1 , u 1 V ( Q 4 1 L ) , since χ ( u 1 ) χ ( w 1 ) . Consequently, d ( w 1 , u 1 ) = 1 . According to Lemma 11, there exists a Hamiltonian path P u 1 w 1 in Q 5 1 containing M 1 , since M 1 is a matching in Q 5 1 u 1 . We choose a neighbor y 1 of v 1 on P u 1 w 1 such that y 1 V ( Q 4 1 R ) since v 1 has just one neighbor in Q 4 1 R . By Lemma 4, there exists a Hamiltonian path P v 0 y 0 in Q 4 0 R containing M 0 R , as M 0 R is a matching in Q 4 0 R v 0 . Since s 0 R { v 0 , y 0 } , we choose a neighbor t 0 R of s 0 R on P v 0 y 0 such that t 0 L w 0 . Now, u 0 , w 0 , s 0 L , t 0 L are pairwise distinct vertices in Q 4 0 L , with χ ( u 0 ) = χ ( s 0 L ) , χ ( w 0 ) = χ ( t 0 L ) , and d ( u 0 , w 0 ) = d ( s 0 L , t 0 L ) = 1 . Given that M 0 L is a matching in Q 4 0 L { u 0 , s 0 L } and | M 0 L | | M 0 R | , by Lemma 10, there exists a spanning 2-path P u 0 w 0 + P s 0 L t 0 L in Q 4 0 L containing M 0 L . Hence, P u 0 w 0 + P u 1 w 1 + P s 0 L t 0 L + P v 0 y 0 + { w 0 w 1 , u 0 u 1 , v 0 v 1 , y 0 y 1 , s 0 L s 0 R , t 0 L t 0 R } { v 1 y 1 , s 0 R t 0 R } constitutes a Hamiltonian cycle in Q 6 containing M, shown in Figure 7b.
Subcase 4.2. If χ ( u ϵ ) = χ ( v ϵ ) = χ ( w ϵ ) .
The vertices u ϵ , v ϵ , w ϵ are all in the same partite set. The 5-cube Q 5 ϵ can be divided into two 4-cubes, Q 4 ϵ L and Q 4 ϵ R , at position k where u ϵ V ( Q 4 ϵ L ) and v ϵ V ( Q 4 ϵ R ) . Without loss of generality, suppose that k = 5 , and given that χ ( u ϵ ) = χ ( v ϵ ) = χ ( w ϵ ) , by symmetry, we may consider that w ϵ V ( Q 4 ϵ L ) . Considering | M 0 E 5 | + | M 1 E 5 | = | M E 5 | = 3 , by symmetry, we may assume | M 0 E 5 | 1 . Define M ϵ μ = M ϵ E ( Q 4 ϵ μ ) for each μ { L , R } .
Subcase 4.2.1. M 0 E 5 = , since χ ( u 1 ) = χ ( w 1 ) .
Let x 1 be the unique vertex in Q 4 1 L , such that d ( x 1 , w 1 ) = 4 . It follows that d ( x 1 , u 1 ) = 1 . Given that M 1 is a matching in Q 5 1 u 1 by Lemma 11, there is a Hamiltonian path P u 1 x 1 in Q 5 1 passing through M 1 . We choose a neighbor z 1 of w 1 on P u 1 x 1 such that z 1 V ( Q 4 1 L ) , as w 1 has only one neighbor in Q 4 1 L . Since d ( x 1 , w 1 ) = 4 , it follows that z 1 x 1 . Suppose M 0 L is matching in Q 4 0 L u 0 , satisfying χ ( w 0 ) = χ ( x 0 ) χ ( u 0 ) such that | M 0 R | | M 0 L | . By Lemma 6, there exists a spanning 2-path P u 0 z 0 + P x 0 w 0 in Q 4 0 L that containing M 0 L . We choose a neighbor y 1 of v 1 on P u 1 x 1 such that y 1 V ( Q 4 1 R ) and y 0 V ( Q 4 0 R ) , since v 1 has only one neighbor in Q 4 1 R . By Lemma 4, there exists a Hamiltonian path P v 0 y 0 in Q 4 0 R containing M 0 R , since M 0 R is a matching in Q 4 0 R v 0 . Thus, P u 1 x 1 + P u 0 z 0 + P x 0 w 0 + P v 0 y 0 + { u 0 u 1 , x 0 x 1 , w 0 w 1 , v 0 v 1 , z 0 z 1 , y 0 y 1 } { v 1 y 1 , w 1 z 1 } is a Hamiltonian cycle in Q 6 passing through M, as depicted in Figure 8a.
Subcase 4.2.2. | M 0 E 5 | = 1 and | M 1 E 5 | = 2 .
Let M 0 E 5 = { s 0 L s 0 R } and M 1 E 5 = { a 1 L a 1 R , b 1 L b 1 R } , where s 0 μ V ( Q 4 0 μ ) and a 1 μ , b 1 μ V ( Q 4 1 μ ) . If χ ( a 1 L ) χ ( b 1 L ) and χ ( u 1 ) = χ ( w 1 ) , without loss of generality, we may assume χ ( u 1 ) = χ ( b 1 L ) and χ ( w 1 ) = χ ( a 1 L ) . Consequently, χ ( v 1 ) = χ ( a 1 R ) χ ( b 1 R ) . We claim that M 1 can be extended to a Hamiltonian cycle C 1 in Q 5 1 . Since | M 1 E 5 | = 2 , we deduce that | M E 5 | = 3 . This implies | M E i | = 3 for every i [ 5 ] . Therefore, χ ( a 1 μ ) χ ( b 1 μ ) for each μ { L , R } .
| M 1 E 5 | = 1 , as stated in subcase 4.1. Let M 1 E 5 = { a 1 L , a 1 R } , where a 1 μ V ( Q 4 1 μ ) . Since a 1 R has four neighbors in Q 4 1 R . Therefore, we may choose a neighbor b 1 R of a 1 R in Q 4 1 R such that b 1 R v 1 and χ ( a 1 μ ) χ ( b 1 μ ) for every μ { L , R } .
By Lemma 4, there exist the Hamiltonian paths P a 1 μ b 1 μ in Q 4 1 μ passing through M 1 μ for every μ { L , R } for these two cases, since M 1 μ is a matching in Q 4 1 μ a 1 μ . Hence, C 1 = P a 1 L b 1 L + P a 1 R b 1 R + { a 1 L a 1 R , b 1 L b 1 R } . In the first case, since { u 0 u 1 , v 0 v 1 , a 1 L a 1 R , b 1 L b 1 R } M , we get v 1 { a 1 R , b 1 R } . In the second case, because { u 0 u 1 , v 0 v 1 , a 1 L a 1 R } M , it follows that v 1 a 1 R , and hence, v 1 { a 1 R , b 1 R } . Therefore, C 1 is a Hamiltonian cycle in Q 5 1 passing through M 1 such that both neighbors of v 1 on C 1 are in V ( Q 4 1 R ) .
Let x 1 be neighbor of u 1 such that vertices u 1 , x 1 V ( Q 4 1 L ) on C 1 , and choose a neighbor z 1 of w 1 on C 1 such that w 0 s 0 L . Suppose vertices u 0 and z 0 are in the graph Q 4 0 L , where χ ( u 0 ) = χ ( z 0 ) . Suppose M 0 L is matching in Q 4 0 L u 0 , satisfying χ ( w 0 ) = χ ( x 0 ) χ ( u 0 ) ; by Lemma 6, there is a spanning 2-path P u 0 z 0 + P x 0 w 0 in Q 4 0 L passing through M 0 L . Assume s 0 L is a vertex on P w 0 x 0 such that χ ( s 0 L ) χ ( s 0 R ) . Let vertices s 0 R and v 0 be in the subgraph Q 4 0 R , where χ ( s 0 R ) = χ ( v 0 ) . Now, s 0 R , v 0 , t 0 R , y 0 are pairwise distinct vertices in Q 4 0 R , with χ ( s 0 R ) = χ ( v 0 ) , χ ( t 0 R ) = χ ( y 0 ) , and d ( s 0 R , t 0 R ) = d ( v 0 , y 0 ) = 1 . Since M 0 R is a matching in Q 4 0 R { s 0 R , v 0 } , and we have | M 0 R | | M 0 L | , by Lemma 10, there exists a spanning 2-path P s 0 R t 0 R + P v 0 y 0 in Q 4 0 R passing through M 0 R . Hence, C 1 + P s 0 R t 0 R + P u 0 z 0 + P v 0 y 0 + P w 0 x 0 + { s 0 L s 0 R , t 0 L t 0 R , x 0 x 1 , y 0 y 1 , u 0 u 1 , v 0 v 1 , s 0 R s 0 L , t 0 R t 0 L } { v 1 y 1 , u 1 x 1 , w 1 z 1 , s 0 L t 0 L } is a Hamiltonian cycle containing M in Q 6 , as shown in Figure 8b.
Now, if χ ( a 1 L ) = χ ( b 1 L ) and χ ( u 1 ) = χ ( w 1 ) , without loss of generality that we may assume χ ( u 1 ) = χ ( b 1 L ) and χ ( w 1 ) = χ ( a 1 L ) . Consequently, χ ( v 1 ) = χ ( a 1 R ) = χ ( b 1 R ) .
Because χ ( u 1 ) = χ ( w 1 ) such that w 1 , u 1 V ( Q 4 1 L ) , according to Lemma 11, there exists a Hamiltonian path P u 1 x 1 in Q 5 1 containing M 1 , since M 1 is a matching in Q 5 1 u 1 . Let x 1 be a neighbor of u 1 such that vertices u 1 , x 1 V ( Q 4 1 L ) on C 1 , and choose a neighbor z 1 of w 1 on C 1 . Suppose vertices u 0 and z 0 are in the graph Q 4 0 L , where χ ( u 0 ) = χ ( z 0 ) . Suppose M 0 L is matching in Q 4 0 L u 0 , satisfying χ ( w 0 ) = χ ( x 0 ) χ ( u 0 ) , then by Lemma 6, there exists a spanning 2-path P u 0 z 0 + P x 0 w 0 in Q 4 0 L passing through M 0 L . Suppose s 0 L is a vertex on P w 0 x 0 such that χ ( s 0 L ) χ ( s 0 R ) . Let vertices s 0 R and v 0 be in the subgraph Q 4 0 R , where χ ( s 0 R ) = χ ( v 0 ) . Now, s 0 R , v 0 , t 0 R , y 0 are pairwise distinct vertices in Q 4 0 R , such that χ ( s 0 R ) = χ ( v 0 ) , χ ( t 0 R ) = χ ( y 0 ) and d ( s 0 R , t 0 R ) = d ( v 0 , y 0 ) = 1 . Because M 0 R is a matching in Q 4 0 R { s 0 R , v 0 } and we have | M 0 R | | M 0 L | , according to Lemma 10, there exists a spanning 2-path P s 0 R t 0 R + P v 0 y 0 in Q 4 0 R containing M 0 R . Hence, P u 1 x 1 + P s 0 R t 0 R + P u 0 z 0 + P v 0 y 0 + P w 0 x 0 + { s 0 L s 0 R , t 0 L t 0 R , x 0 x 1 , y 0 y 1 , u 0 u 1 , v 0 v 1 , s 0 R s 0 L , t 0 R t 0 L } { v 1 y 1 , w 1 z 1 , s 0 L t 0 L } is a Hamiltonian cycle in Q 6 containing M, as shown in Figure 9. □
Next, we aim to generalize this result to the n-dimensional hypercube, denoted by Q n , specifying the matchings as described above. In particular, we will consider matchings that contain edges at most in six directions and that avoid covering all pairs of vertices at a distance of 3 and can extend to a Hamiltonian cycle in Q n .
Theorem 13.
For n 3 , let M be a matching in the hypercube Q n such that | { i [ n ] : M E i } | 6 and does not cover every two vertices at a distance of 3. Then, there exists a Hamiltonian cycle in Q n containing M.
Proof. 
Given that in the hypercube Q n , for n 3 , any matching consisting of edges at most in six directions and does not cover every pair of vertices at a distance of 3, we prove the theorem by induction on n.
First, we address the base case. For n { 2 , 3 , 4 , 5 } , where M is any matching in Q n , the result directly follows Theorem 2. When n = 6 , then Theorem 12 proves the result. Now assume n 7 and with the given restrictions on matching M; thus, M is not perfect. The matching M is at most in six directions and does not cover a pair of vertices at a distance of 3. Without loss of generality, we may assume that these directions are among { 1 , 2 , 3 , 4 , 5 , 6 } . Therefore, M E 1 E 2 E 3 E 4 E 5 E 6 .
Select a coordinate position j { 1 , , n } such that one of the following holds:
  • | M E j | = 2 and the edges in M E j are adjacent;
  • | M E j | = 1 with M E j = { u 0 u 1 } , and there exists a neighbor v ϵ M ;
  • M E j = , and there exists an edge u ϵ v ϵ M for each ϵ { 0 , 1 } .
Split Q n into its two ( n 1 ) -dimensional subcubes Q n 1 0 and Q n 1 1 along the j-th dimension. This is because the matching M is restricted and the size is at most 2 n 2 . Without loss of generality, | M 0 | 2 ( n 1 ) 2 and | M 1 | 2 ( n 1 ) 2 according to the given restrictions on matching M. By the induction hypothesis, there exists a Hamiltonian cycle C 0 in the subcube Q n 1 0 which contains all the edges of M 0 . Choose an edge u 0 v 0 C 0 such that the corresponding vertices u 1 , v 1 V ( Q n 1 1 ) satisfy u 1 , v 1 V ( M 1 ) . Then, M 1 { u 1 v 1 } is a matching in Q n 1 1 ; by the induction hypothesis, there exists a Hamiltonian cycle C 1 in Q n 1 1 that passes through all edges in M 1 { u 1 v 1 } . Thus, the required Hamiltonian cycle in Q n is C : = C 0 + { u 0 u 1 , v 0 v 1 } + C 1 { u 0 v 0 , u 1 v 1 } , which passes through all edges of M in Q n . This is a required proof. □

4. Conclusions

In this study, we examined the extension of matchings to Hamiltonian cycles in the hypercube Q n for n 3 . Building on previous work that resolved the case for perfect matchings, we focused on matchings with structural constraints, specifically for those that avoid covering pairs of vertices at a distance of three and consist of edges at most in six distinct directions. We proved that such matchings are always extendable to a Hamiltonian cycles. This result contributes a new partial solution to the open problem posed by Ruskey and Savage, advancing our understanding of the Hamiltonian extensions in hypercubes.

Author Contributions

Conceptualization, A.A. and W.Y.; Methodology, A.A. and W.Y.; Software, D.A.M.; Validation, G.A. and I.-L.P.; Investigation, G.A., I.-L.P. and D.A.M.; Resources, G.A.; Data curation, G.A. and D.A.M.; Writing—original draft, A.A.; Supervision, W.Y.; Project administration, I.-L.P.; Funding acquisition, I.-L.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors would like to thank the anonymous referee for their constructive comments.

Conflicts of Interest

The authors have no conflicts of interest.

References

  1. Gros, L. Theorie du Baguenodier; Aimé Vingtrinier: Lyon, France, 1872. [Google Scholar]
  2. Alahmadi, A.; Aldred, R.E.; Alkenani, A.; Hijazi, R.; Solé, P.; Thomassen, C. Extending a perfect matching to a Hamiltonian cycle. Discret. Math. Theor. Comput. Sci. 2015, 17. [Google Scholar] [CrossRef]
  3. Feder, T.; Carlos, S. Nearly tight bounds on the number of Hamiltonian circuits of the hypercube and generalizations. Inf. Process. Lett. 2009, 109, 267–272. [Google Scholar] [CrossRef]
  4. Caha, R.; Koubek, V. Spanning multi-paths in hypercubes. Discrete Math. 2007, 307, 2053–2066. [Google Scholar] [CrossRef]
  5. Dvorák, T. Hamiltonian cycles with prescribed edges in hypercubes. SIAM J. Discrete Math. 2005, 19, 135–144. [Google Scholar] [CrossRef]
  6. Fink, J. Connectivity of matching graph of hypercube. SIAM J. Discrete Math. 2009, 23, 1100–1109. [Google Scholar] [CrossRef]
  7. Alaeiyan, M. Characteristics and eigenvalues of the newly defined Ala graph. Phys. Scr. 2025, 100, 055201. [Google Scholar] [CrossRef]
  8. Ruskey, F.; Carla, S. Hamilton cycles that extend transposition matchings in Cayley graphs of Sn. Siam J. Discret. Math. 1993, 6, 152–166. [Google Scholar] [CrossRef]
  9. Kreweras, G. Matchings and Hamiltonian cycles on hypercubes. Bull. Inst. Combin. Appl. 1996, 16, 87–91. [Google Scholar]
  10. Fink, J. Perfect matchings extend to Hamilton cycles in hypercubes. J. Comb. Theory, Ser. B 2007, 97, 1074–1076. [Google Scholar] [CrossRef]
  11. Fink, J. Matching graphs of hypercubes and complete bipartite graphs. Eur. J. Comb. 2009, 30, 1624–1629. [Google Scholar] [CrossRef]
  12. Gregor, P. Perfect matchings extending on subcubes to Hamiltonian cycles of hypercubes. Discret. Math. 2009, 309, 1711–1713. [Google Scholar] [CrossRef]
  13. Dimitrov, D.; Dvorak, T.; Gregor, P.; Skrekovski, R. Gray codes avoiding matchings. Discrete Math. Theoret. Comput. Sci. 2009, 11, 123–148. [Google Scholar] [CrossRef]
  14. Wang, F.; Zhao, W. Matchings extend to Hamiltonian cycles in 5-cube. Discuss. Math. Graph Theory 2018, 38, 217–231. [Google Scholar] [CrossRef]
  15. Limaye, N.B.; Sarvate, D.G. On r-extendability of the hypercube Qn. Math. Bohem. 1997, 122, 249–255. [Google Scholar] [CrossRef]
  16. Jennifer, V.; West, D.B. Matching extendability in hypercubes. SIAM J. Discret. Math. 2009, 23, 1539–1547. [Google Scholar]
  17. Fan, W.; Zhang, H. Small matchings extend to Hamiltonian cycles in hypercubes. Graphs Comb. 2016, 32, 363–376. [Google Scholar]
  18. Dvořák, T.; Jiří, F. Gray codes extending quadratic matchings. J. Graph Theory 2019, 90, 123–136. [Google Scholar] [CrossRef]
  19. Bondy, J.; Murty, U. Graph Theory with Applications; Macmillan Press: London, UK, 1976. [Google Scholar]
  20. Wang, F.; Zhang, H.P.; Zhang, H.P. Two types of matchings extend to Hamiltonian cycles in hypercubes. ARS Combin. 2015, 118, 269–283. [Google Scholar]
  21. Wang, S.; Fan, W. A kind of matchings extend to Hamiltonian cycles in hypercubes. Rairo-Oper. Res. 2024, 58, 5237–5254. [Google Scholar] [CrossRef]
Figure 1. Hamiltonian cycles containing M 1 { e } for any edge e E ( Q 3 1 ) M 1 , where M 1 is isomorphic to P 1 , P 2 , or P 3 .
Figure 1. Hamiltonian cycles containing M 1 { e } for any edge e E ( Q 3 1 ) M 1 , where M 1 is isomorphic to P 1 , P 2 , or P 3 .
Symmetry 17 00995 g001
Figure 2. (af) Matchings up to isomorphism when M E 2 are incident to { x , y } . Red line denotes matching, and blue is extension of M to spanning 2-path.
Figure 2. (af) Matchings up to isomorphism when M E 2 are incident to { x , y } . Red line denotes matching, and blue is extension of M to spanning 2-path.
Symmetry 17 00995 g002
Figure 3. (a) Sketch map of construction of the Hamiltonian cycle: (a) Case 1; (b) Case 2.
Figure 3. (a) Sketch map of construction of the Hamiltonian cycle: (a) Case 1; (b) Case 2.
Symmetry 17 00995 g003
Figure 4. Splitting of hypercube Q 6 into 4-cubes at E j such that j = [ 6 ] .
Figure 4. Splitting of hypercube Q 6 into 4-cubes at E j such that j = [ 6 ] .
Symmetry 17 00995 g004
Figure 5. Depiction of Subcase 3.1. Sketch map of construction of the Hamiltonian cycle: (a) Subcase 3.1.1; (b) Subcase 3.1.2.
Figure 5. Depiction of Subcase 3.1. Sketch map of construction of the Hamiltonian cycle: (a) Subcase 3.1.1; (b) Subcase 3.1.2.
Symmetry 17 00995 g005
Figure 6. Illustration of condition 3.2. Extension of matching M to Hamiltonian cycle.
Figure 6. Illustration of condition 3.2. Extension of matching M to Hamiltonian cycle.
Symmetry 17 00995 g006
Figure 7. Illustration of Case 4.1, matching M to Hamiltonian cycle. (a) Subcase 4.1.1; (b) Subcase 4.1.2.
Figure 7. Illustration of Case 4.1, matching M to Hamiltonian cycle. (a) Subcase 4.1.1; (b) Subcase 4.1.2.
Symmetry 17 00995 g007
Figure 8. Illustration of Case 4.2, matching M to Hamiltonian cycle. (a) Subcase 4.2.1; (b) Subcase 4.2.2 when χ ( a 1 L ) χ ( b 1 L ) .
Figure 8. Illustration of Case 4.2, matching M to Hamiltonian cycle. (a) Subcase 4.2.1; (b) Subcase 4.2.2 when χ ( a 1 L ) χ ( b 1 L ) .
Symmetry 17 00995 g008
Figure 9. Depiction of case when χ ( a 1 L ) = χ ( b 1 L ) , extension of matching M to Hamiltonian cycle.
Figure 9. Depiction of case when χ ( a 1 L ) = χ ( b 1 L ) , extension of matching M to Hamiltonian cycle.
Symmetry 17 00995 g009
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ali, A.; Yang, W.; Ali, G.; Popa, I.-L.; Mitu, D.A. Kinds of Matchings Extending to Hamiltonian Cycles in Hypercube Networks. Symmetry 2025, 17, 995. https://doi.org/10.3390/sym17070995

AMA Style

Ali A, Yang W, Ali G, Popa I-L, Mitu DA. Kinds of Matchings Extending to Hamiltonian Cycles in Hypercube Networks. Symmetry. 2025; 17(7):995. https://doi.org/10.3390/sym17070995

Chicago/Turabian Style

Ali, Abid, Weihua Yang, Gohar Ali, Ioan-Lucian Popa, and Dilara Akter Mitu. 2025. "Kinds of Matchings Extending to Hamiltonian Cycles in Hypercube Networks" Symmetry 17, no. 7: 995. https://doi.org/10.3390/sym17070995

APA Style

Ali, A., Yang, W., Ali, G., Popa, I.-L., & Mitu, D. A. (2025). Kinds of Matchings Extending to Hamiltonian Cycles in Hypercube Networks. Symmetry, 17(7), 995. https://doi.org/10.3390/sym17070995

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop