578
Views
2
CrossRef citations to date
0
Altmetric
Articles

A closed -knight’s tour on some cylinder chessboards

, &

Abstract

A (2,3)-knight’s move on the m×n cylinder chessboard is the move of the knight 2 squares vertically or 2 squares horizontally and then 3 squares perpendicular to it. In this paper, we show a closed (2,3)-knight’s tour on the 5k×n cylinder chessboard for all positive integers k and n, and a closed (2,3)-knight’s tour on the 9k×n cylinder chessboard for all positive integers k and n{4,5,7,8,9,10,11,12,13}. Moreover, we show that there is no closed (2,3)-knight’s tours on the m×n cylinder chessboard where (i) m{1,2,3,4,6,7,8} and (ii) m=9 and n{1,2,3,6}.

1 Introduction and preliminaries

The m×n chessboard is an array with m rows and n columns. A legal knight’s move is the moves from one square vertically or one square horizontally and then two squares perpendicular to it. A question of the m×n chessboard is “which chessboard that the knight can move to all squares of the chessboard exactly once and return to the starting square?” The knight’s moves that move to all squares of the chessboard exactly once and return to the starting square is called a closed knight’s tour. The answer of this question was obtained by Schwenk Citation[1] in 1991 as follows.

Theorem 1

Citation[1] The m×n chessboard with mn admits a closed knight’s tour unless one or more of the following conditions hold :

(i) m and n are both odd;

(ii) m=1,2 , or 4 ; or

(iii) m=3 and n=4,6 or 8 .

In 2005, Chia et al. Citation[2] generalized the legal knight’s move to an (a,b)-knight’s move. That is, the knight can move a squares vertically or a squares horizontally and then b squares perpendicular to it. Then, the legal knight’s move is a (1,2)-knight’s move. The problem is similar to the legal knight’s move. The (a,b)-knight’s moves that move to all squares of the chessboard exactly once and return to the starting square is called a closed (a,b) -knight’s tour. The authors in Citation[2] obtained the following result for the (2,3)-knight’s move.

Theorem 2

Citation[2] The 5k×n chessboard where (5k,n)(5,18) admits a closed (2,3) -knight’s tour if and only if

(i)

k=1 and n16 is even; or

(ii)

k=2 and n10 and n12 ; or

(iii)

k3 is odd and n10 is even and n12 ; or

(iv)

k4 is even and n=5,9,10,11 or n13 .

The knight’s tour problem was discussed in the m×n cylinder chessboard. We can think of creating the m×n cylinder chessboard by starting with an m×n chessboard and then joining the left end with the right end. In Citation[3], Watkins obtained the following result.

Theorem 3

Citation[3] An m×n cylinder chessboard has a closed knight’s tour unless one of the following two conditions holds: (a) m=1 and n>1 ; or (b) m=2 or 4 and n is even.

In this paper, we consider a (2,3)-knight’s move on the cylinder chessboard. A closed (2,3)-knight’s tour on the 5k×n cylinder chessboard for all positive integers k and n, and a closed (2,3)-knight’s tour on the 9k×n cylinder chessboard for all positive integers k and n{4,5,7,8,9,10,11,12,13} are shown in Theorems 6 and 8, respectively. Moreover, we show that the m×n cylinder chessboard, where m{1,2,3,4,6,7,8} contains no closed (2,3)-knight’s tours (in Theorem 5) and the 9×n cylinder chessboard, where n{1,2,3,6}, also contains no closed (2,3)-knight’s tours (in Lemma 2).

2 Main results

For an m×n cylinder chessboard, we start with an m×n chessboard. When we consider the m×n cylinder chessboard with an m×n chessboard, let each square be (i,j) where (i,j) is counting in the matrix fashion. If the knight stands at (i,j), then the knight can move to at most eight squares : (i±2,j±3) and (i±3,j±2) where j±3 and j±2 are in modulo n.

The knight’s tour problem can be considered by using a graph. Let G be a graph with V(G)={(i,j)|i{1,2,3,,m}andj{1,2,3,,n}}. Two vertices, (i,j) and (k,l), are adjacent if the knight can move from (i,j) to (k,l). Then, a closed (2,3)-knight’s tour is a Hamiltonian cycle of a graph G, a cycle of G that contains all vertices of G.

Before proving the main results, we need the following well-known result concerning Hamiltonian cycle (see for example Citation[4]).

Theorem 4

Let S be a proper subset of the vertex set of a graph G . If G contains a Hamiltonian cycle, then GS contains at most |S| components.

If G is a graph and A is a subset of V(G), let G[A] denote a subgraph of G induced by A.

Theorem 5

Suppose that m8 and m5 . Then, the m×n cylinder chessboard contains no closed (2,3) -knight’s tours for any positive integer n .

Proof

Let G be a graph representing the m×n cylinder chessboard.

Case 1: m{1,2,3,4}. If m{1,2,3}, then G is a disconnected graph. Thus, it has no closed (2,3)-knight’s tours. Next, let m=4.

If n=1,2,3 or n=6, then the degree of vertices (2,1) is 1. Then, G contains no Hamiltonian cycle.

If n4 and n6, then we consider vertices in the 2nd row. Since, for j{1,2,3,,n}, vertex (2,j) in the 2nd row is adjacent to vertices (4,t1) and (4,t2) where t1j+3 (mod n) and t2j3 (mod n), the degree of each vertex in the 2nd row is 2. If G contains a Hamiltonian cycle, then such two edges that incident with each vertex in the 2nd row must be in the Hamiltonian cycle. We see that edges incident with vertices in the 2nd row form cycle which is not a Hamiltonian cycle. The cycle starts at (2,1), goes on the right side of the chessboard and then returns to the left side of the chessboard until we end at the right side.

Case (i): n0 (mod 3). Let n=3t for some positive integer t3. The cycle is in the following form.

(2,1),(4,4),(2,7),(4,10),(2,13),(4,16),,(4,3t5),(2,3t2),

(4,1),(2,4),(4,7),(2,10),(4,13),(2,16),,(2,3t5),(4,3t2),(2,1).

Case (ii): n1 (mod 3). Let n=3t+1 for some positive integer t. The cycle is in the following form.

(2,1),(4,4),(2,7),(4,10),(2,13),(4,16),,(2,3t2),(4,3t+1),

(2,3),(4,6),(2,9),(4,12),(2,15),(4,18),,(4,3t3),(2,3t),

(4,2),(2,5),(4,8),(2,11),(4,14),(2,17),,(2,3t4),(4,3t1),(2,1).

Case (iii): n2 (mod 3). Let n=3t+2 for some positive integer t. The cycle is in the following form.

(2,1),(4,4),(2,7),(4,10),(2,13),(4,16),,(2,3t2),(4,3t+1),

(2,2),(4,5),(2,8),(4,11),(2,14),(4,17),,(2,3t1),(4,3t+2),

(2,3),(4,6),(2,9),(4,12),(2,15),(4,18),,(4,3t3),(2,3t)

(4,1),(2,4),(4,7),(2,10),(4,13),(2,16),,(4,3t2),(2,3t+1),

(4,2),(2,5),(4,8),(2,11),(4,14),(2,17),,(4,3t1),(2,3t+2),

(4,3),(2,6),(4,9),(2,12),(4,15),(2,18),,(2,3t3),(4,3t),(2,1).

Case 2: m{6,7,8}.

Case 2.1: m=6. Let S={(3,j),(4,j)|j{1,2,3,,n}}. Then, |S|=2n.

If n=1,3 or n5, let G1 be a subgraph of G induced by the set of vertices (2,j) and (4,j) where j{1,2,3,,n}. Then, GS contains G1 and 2n isolated vertices from the 1st and 6th rows. By Theorem 4, G contains no Hamiltonian cycles. (See .)

If n=2 (respectively n=4), then GS contains 6 (respectively 12) components. shows the graph GS where the white vertices are in S. By Theorem 4, G contains no Hamiltonian cycles.

Case 2.2: m=7. Let S={(3,j),(4,j),(5,j)|j{1,2,3,,n}}. Then, |S|=3n and GS contains 4n isolated vertices from the 1st,2nd,6th and 7th rows. By Theorem 4, G contains no Hamiltonian cycles.

Case 2.3: m=8. Let S={(4,j),(5,j)|j{1,2,3,,n}}. Then, |S|=2n.

If n is odd, let G1 be a subgraph of G induced by the set of vertices (1,j),(3,j),(6,j) and (8,j) where j{1,2,3,,n}. Then, GS contains G1 and 2n isolated vertices from the 2nd and 7th rows. By Theorem 4, G contains no Hamiltonian cycles.

If n is even, let A1={(1,j),(3,j+1),(6,j+1),(8,j)|j{1,3,5,,n1}} and A2={(1,j),(3,j1),(6,j1),(8,j)|j{2,4,6,,n}}. Then, GS contains G[A1],G[A2] and 2n isolated vertices from 2nd and 7th rows. By Theorem 4, G contains no Hamiltonian cycles.

This completes the proof. □

Fig. 1 GS where the white vertices are in S.

Fig. 1 G−S where the white vertices are in S.

Lemma 1

The 5×n cylinder chessboard admits a closed (2,3) -knight’s tour for any positive integer n .

Proof

Let n be a positive integer. We give two patterns to construct a closed (2,3)-knight’s tour for the 5×n cylinder chessboard. Since the total number of squares of the 5×n cylinder chessboard is 5n, for each pattern, we start the first position at (1,1) labeled with number 1. We define four directions of the knight’s move as follows.

a means the knight moves two squares downward and then goes three squares to the right,

b means the knight moves two squares downward and then goes three squares to the left,

c means the knight moves three squares upward and then goes two squares to the right, and

d means the knight moves three squares upward and then goes two squares to the left.

Then, we obtain two patterns of a closed (2,3)-knight’s tour as follows.

For the 1st pattern, the first, second, third, fourth and fifth moves are a,b,c,b and c, respectively. We repeat this algorithm for n times (see (a)).

For the 2nd pattern, the first, second, third, fourth and fifth moves are b,a,d,a and d, respectively. We repeat this algorithm for n times (see (b)).

We obtain some observations as follows.

(i) For each loop, the starting point is on the 1st row,

(ii) the 1st number of each loop is 5k4 where k{1,2,3,,n},

(iii) squares labeled with the five consecutive numbers are on different rows, for example, squares labeled with 1,2,3,4 and 5 stand in the 1st, 3rd, 5th, 2nd and 4th rows, respectively,

(iv) if X is the first number of a loop and stands at (1,j), then X+5 is the first number of the next loop and stands at (1,j+1) if the knight move with the first pattern or at (1,j1(mod)n) if the knight move with the second pattern.

By the observation, the 1st number of each loop stands in the different squares. The 2nd, 3rd, 4th and 5th numbers of each loop are considered in similar way. Then, the knight moves to all squares exactly once and the number 5n is on (4,n1) if the knight move with the first pattern, or (4,3) if the knight move with the second pattern. Thus, the knight can move to the first position (1,1). □

Fig. 2 Two patterns of a closed (2,3)-knight’s tour on the 5×n cylinder chessboard.

Fig. 2 Two patterns of a closed (2,3)-knight’s tour on the 5×n cylinder chessboard.

Theorem 6

The 5k×n cylinder chessboard admits a closed (2,3) -knight’s tour for any positive integers k and n .

Proof

If k=1, then a closed (2,3)-knight’s tour is obtained by Lemma 1. Suppose that k2. The 5k×n cylinder chessboard is obtained from k copies of the 5×n cylinder chessboards by putting each copy from the top to the bottom. We count all copies from the top to the bottom. Since each copy contains a closed (2,3)-knight’s tour, we combine each tour of each 5×n cylinder chessboard to a single tour by deleting one edge from the top and the bottom and two edges from the ith cylinder chessboard for all i{2,3,4,,k1} and then joining each piece to a single cycle.

Case 1 : n5. We give another pattern for the 5×n cylinder chessboard which is different from the two patterns of Lemma 1 (shown in ).

If n=1, then delete edge 2–3 of the ith copy, and edge 1–2 of (i+1)th copy and then join 2 (respectively 3) of the ith copy to 1 (respectively 2) of the (i+1)th copy for all i{1,2,3,,k1}.

If n=2,3 or 4, then delete edge 2–3 of the ith copy, and edge 6-7 of (i+1)th copy and then join 2 (respectively 3) of the ith copy to 6 (respectively 7) of the (i+1)th copy for all i{1,2,3,,k1}.

If n=5, then delete edge 2–3 of the ith copy, and edge 11–12 of (i+1)th copy and then join 2 (respectively 3) of the ith copy to 11 (respectively 12) of the (i+1)th copy for all i{1,2,3,,k1}.

Case 2 : n>5. If k=2, the 10×n cylinder chessboard is obtained from 2 copies of the 5×n cylinder chessboards by putting each copy from the top to the bottom. The top copy is assigned by the 1st pattern of a closed (2,3)-knight’s tour and the bottom copy is assigned by the 2nd pattern of a closed (2,3)-knight’s tour from Lemma 1. Thus, we combine each tour of each copy to a single tour by deleting edge (5n2)(5n3) from the top and edge 12 from the bottom and then joining 5n3 to 1 and 5n2 to 2.

Next, suppose that k3. The 5k×n cylinder chessboard is obtained from k copies of the 5×n cylinder chessboards by putting each copy from the top to the bottom and counting all copies from the top to the bottom. If i is odd, then the ith copy is assigned by the 1st pattern of a closed (2,3)-knight’s tour from Lemma 1. If i is even, then the ith copy is assigned by the 2nd pattern of a closed (2,3)-knight’s tour from Lemma 1. Thus, we combine each tour of each copy to a single tour as follows.

1. Delete edge (5n2)(5n3) from the 1st copy and edge 12 from the kth copy.

2. For i{2,3,4,,k1}, delete edges 12 and (5n2)(5n3) from the ith copy.

3. For i{2,3,4,,k1}, join 1 and 2 of the ith copy to 5n3 and 5n2 of the (i1)th copy, respectively.

This completes the proof. □

Fig. 3 Closed (2,3)-knight’s tours on the 5×n where n5.

Fig. 3 Closed (2,3)-knight’s tours on the 5×n where n≤5.

illustrates closed (2,3)-knight’s tours on 15 × 6 and 20 × 6 cylinder chessboards.

Fig. 4 Illustrated closed (2,3)-knight’s tours on 15 × 6 and 20 × 6 cylinder chessboards.

Fig. 4 Illustrated closed (2,3)-knight’s tours on 15 × 6 and 20 × 6 cylinder chessboards.

For the 9×n cylinder chessboard, we consider n13.

Lemma 2

Let n{1,2,3,6} . Then, the 9×n cylinder chessboard admits no closed (2,3) -knight’s tours.

Proof

Let n{1,2,3,6} and G be a graph representing the 9×n cylinder chessboard. For j{1,2,3,,n}, let Bj={(1,j),(3,t)|tj+3(modn)} and Cj={(7,j),(9,t)|tj+3(modn)}n. Let S={(4,j),(5,j),(6,j)|j{1,2,3,,n}}. Then, |S|=3n and GS contains 2n isolated from the 2nd and 8th rows, G[Bj] and G[Cj] where j{1,2,3,,n}. By Theorem 4, G contains no Hamiltonian cycles. □

Theorem 7

Let n be an integer such that n13 . Then, the 9×n cylinder chessboard admits a closed (2, 3)-knight’s tour if and only if n{1,2,3,6} .

Proof

If n{1,2,3,6}, then by Lemma 2, the 9×n cylinder chessboard admits no closed (2, 3)-knight’s tours. Closed (2, 3)-knight’s tours on the 9×n cylinder chessboard where n{4,5,7,8,9,10,11,12,13} are shown in . □

Fig. 5 Closed (2, 3)-knight’s tours on the 9×n cylinder chessboard where n{4,5,7,8,9,10,11}.

Fig. 5 Closed (2, 3)-knight’s tours on the 9×n cylinder chessboard where n∈{4,5,7,8,9,10,11}.

Fig. 6 Closed (2, 3)-knight’s tours on the 9×n cylinder chessboard where n{12,13}.

Fig. 6 Closed (2, 3)-knight’s tours on the 9×n cylinder chessboard where n∈{12,13}.

Theorem 8

Suppose that n13 and n{1,2,3,6} . Then, the 9k×n cylinder chessboard admits a closed (2,3) -knight’s tour for any positive integer k .

Proof

If k=1, then a closed (2,3)-knight’s tour is obtained by Theorem 7. Suppose that k2. The 9k×n cylinder chessboard is obtained from the k copies of 9×n cylinder chessboards by putting each copy from the top to the bottom. We count all copies from the top to the bottom. Since each copy contains a closed (2,3)-knight’s tour, we combine each tour of each 9×n cylinder chessboard to a single tour by deleting one edge from the top and the bottom and two edges from the ith copy where i{2,3,4,,k1} and then joining each piece to a single cycle.

Case 1: n=4. Delete edge 29–30 of the ith copy and edge 1–2 of the (i+1)th copy and then join 29 (respectively 30) of the ith copy to 1 (respectively 2) of the (i+1)th copy for all i{1,2,3,,k1}.

Case 2: n=5. Delete edge 12–13 of the ith copy and edge 1–2 of the (i+1)th copy and then join 12 (respectively 13) of the ith copy to 1 (respectively 2) of the (i+1)th copy for all i{1,2,3,,k1}.

Case 3 : n7. Let A be a number X of (n2,3). Then, for each n, the number X+1 or X1 is on (n,6). Assume that B{X+1,X1}. Delete edge AB of the ith copy and edge 1–2 of the (i+1)th copy and then join A (respectively B) of the ith copy to 1 (respectively 2) of the (i+1)th copy for all i{1,2,3,,k1}. □

illustrates closed (2,3)-knight’s tours on the 27×4, 27×5 and 27×7 cylinder chessboards. In future research, we will try to see whether the 9k×n cylinder chessboard has a closed (2,3)-knight’s tour or not.

Fig. 7 Illustrated closed (2, 3)-knight’s tours on the 27×4,27×5 and 27 × 7 cylinder chessboards.

Fig. 7 Illustrated closed (2, 3)-knight’s tours on the 27×4,27×5 and 27 × 7 cylinder chessboards.

Acknowledgments

I would like to thank the referees for their comments and suggestions on the manuscript.

References

  • SchwenkA.L., Which rectangular chessboards have a knight’s tour Math. Mag. 641991 325–332
  • ChiaG.L.OngSiew-Hui, Generalized knight’s tours on rectangular chessboards Discrete Appl. Math. 1592005 80–98
  • WatkinsJ.J., Knight’s tours on cylinders and other surfaces Congr. Numer. 1432000 117–127
  • ChartrandG.ZhangP., A First Course in Graph Theory2005Mc Graw-Hill Higher EducationBoston