A q-queens problem. VII. Combinatorial types of nonattacking chess riders
Christopher R. H. Hanusa, Thomas Zaslavsky

TL;DR
This paper proves a conjecture about the number of combinatorial types of nonattacking configurations of identical chess riders with r moves on convex polygonal boards, showing it depends only on r.
Contribution
It confirms a conjecture relating to the enumeration of combinatorial types of nonattacking chess riders with r moves, independent of specific move sets.
Findings
Number of combinatorial types equals r(r^2+3r-1)/3 for three riders.
The count is independent of the specific moves of the riders.
The result applies to convex polygonal chessboards.
Abstract
On a convex polygonal chessboard, the number of combinatorial types of nonattacking configuration of three identical chess riders with moves, such as queens, bishops, or nightriders, equals , as conjectured by Chaiken, Hanusa, and Zaslavsky (2019). Similarly, for any number of identical 3-move riders the number of combinatorial types is independent of the actual moves.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10| 1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| 2 | 1 | 2 | 3 | 4 | 5 | 6 |
| 3 | 1 | 6 | 17 | 36 | 65 | 106 |
| 4 | 1 | 24 | 151∗ | ? | ? | |
| 5 | 1 | 120 | 1899∗ | ? | ? | |
| 6 | 1 | 720 | 31709∗ | ? | ? |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Combinatorial Mathematics · Computational Geometry and Mesh Generation · Data Management and Algorithms
A -Queens Problem. VII.
Combinatorial Types
of Nonattacking Chess Riders
Christopher R. H. Hanusa
Department of Mathematics
Queens College (CUNY)
65-30 Kissena Blvd.
Queens, NY 11367-1597, U.S.A.
and
Thomas Zaslavsky
Department of Mathematical Sciences
Binghamton University (SUNY)
Binghamton, NY 13902-6000, U.S.A.
Abstract.
On a convex polygonal chessboard, the number of combinatorial types of nonattacking configuration of three identical chess riders with moves, such as queens, bishops, or nightriders, equals , as conjectured by Chaiken, Hanusa, and Zaslavsky (2019). Similarly, for any number of identical 3-move riders the number of combinatorial types is independent of the actual moves.
Key words and phrases:
Nonattacking chess pieces, fairy chess pieces, arrangement of lines
2010 Mathematics Subject Classification:
Primary 05A15; Secondary 00A08, 52C35.
The first author gratefully acknowledges support from PSC-CUNY Research Award 61049-0049.
\markleft
Hanusa and Zaslavsky
1. Combinatorial Types
Consider a chessboard, say an square board, and a chess piece resembling the queen, bishop, and rook in that it has a fixed set of lines along which it can move and it can move any distance in either direction along those move lines. Such pieces are known as riders in fairy chess;111Chess with varied pieces, rules, or boards. an example is the nightrider, which moves any distance in the directions of a knight’s move.
Now place several (labelled) copies of on the board in a nonattacking configuration, i.e., no piece lies on a move line of another piece. The piece in a particular location on the board divides the board into open regions by its move lines, each region determined by the two move lines of that bound it. The other pieces must be inside some of these regions, as they cannot be on the move lines. Two nonattacking configurations with the same number of labelled pieces are said to have the same labelled combinatorial type if for each pair and , lies in the same region of the board with respect to in both configurations. For example, there are six labelled (and three unlabelled) combinatorial types of nonattacking configuration for two copies of a piece with three move lines, shown in Figure 1.
How many combinatorial types of nonattacking configuration are there? Call the number of unlabelled types . A priori, the answer could depend on the move lines of , on the number of pieces, and on the board. Happily, it turns out that the board itself does not matter because every possible combinatorial type can be realized on any sufficiently large board. The set of move lines and the value of remain as relevant variables, which still are relatively complicated information.
Let us review the known data (Table 1). The number of combinatorial types is known for very few pieces and pieces with very few move lines. Suppose there are move lines. It is easy to see that and [1, Theorem 5.6]. One might expect to depend on the exact move lines for larger numbers of pieces, but Chaiken and we conjectured in [2, Conjecture 4.4] that for any rider piece with move lines, . Here we prove that conjecture. We also show that when pieces have only three move lines the value of does not depend on the exact lines, no matter how many pieces there are.
On the other hand, could depend on the set of move lines when . But data is hard to come by. It is hard to compute values by direct counting when or is not tiny, i.e., . For or we get from a general theorem. A quasipolynomial function is a function given by a cyclically repeating sequence of polynomials.
Lemma 1.1** ([1, Theorems 4.1 and 5.3]).**
The number , or , of nonattacking configurations of labelled, respectively unlabelled, copies of on an square board is given by a quasipolynomial function of of degree .
The number of combinatorial types is equal to or , respectively.
(The functions are related by . The former is probably more interesting but solutions are obtained by means of labelled counts.)
Applying Lemma 1.1 requires knowing the quasipolynomial formula for the counting function. That is hard, and few such formulas are known. We rely on Kotěšovec’s heuristic results, especially [3], for most of them. (We have found that, when they can be checked rigorously, as in [2] and its related papers, Kotěšovec’s formulas are always correct.) Table 1 shows the results.
2. Background
We need precise definitions. The board is a closed, convex polygonal region in the plane. (In [1, 2] the vertices are assumed rational; here that is unnecessary.) The working board of order , on which we place pieces, is , denoting the interior of . For example, take the square board ; then (where means ), which is indeed the ordinary square chessboard.
The move set of a piece is the set of integer vectors , the basic moves, such that can move by any amount that takes it to an integral point in . We refer to a piece with basic moves as an -move rider. Most important is the slope, , a number (or infinity) that is rational for chess pieces, though for counting combinatorial types it need not be rational.
Given a piece with move set , place it at . The points that attacks are those that satisfy the equation for some and real number . This equation defines a line through of slope , which we call a move line of . The move lines form an arrangement of lines that we call the move-line arrangement of , written . The move-line arrangement forms regions, each bounded by two move lines with consecutive slopes.
Combinatorial type.
Suppose our pieces are . We write for the arrangement and for the move line on piece with slope . The labelled combinatorial type of a nonattacking configuration of pieces is the list of the sides of move lines occupied by each piece , for all such that . We formalize this in two equivalent ways.
- T1.
First, the rays of the move lines through a piece appear in a cyclic order around . Each consecutive pair of rays in this order contain between them one region of the move-line arrangement, and each (for ) is in one of these regions. We can number the regions in cyclic order, and use the same numbering for the regions around every other piece (since the move-line arrangement at every piece is a translation of that at ). With the regions around each piece unambiguously numbered, we can describe a labelled combinatorial type by giving for each ordered pair the number of the region of that contains . 2. T2.
Second, each move line has a preferred orientation given by the direction of its basic move, and therefore it has distinguishable right and left sides. For each triple of a piece , a move line on , and another piece , the second piece is on the right or left side of . The labelled combinatorial type consists of this information.
If we change the move set by reversing a basic move , i.e., replacing it by , we do not change the move lines or the relative piece positions but we have reoriented the line , interchanging the names of its left and right sides, so we do change the combinatorial type in sense T2. Thus, the set of combinatorial types associated with a move set changes (in a simple way that we call reorientation) upon reversing basic moves, but the number of types remains the same, so we can speak of the number of combinatorial types associated with and a set of move lines, independent of the choice of basic move for each line. We also say that a set of move lines has a definite set of combinatorial types up to reorientation.
The unlabelled combinatorial type of a configuration is the labelled type with labels ignored; formally, it is the class of all labelled types obtained from one such type by permuting the labels. Another way to make the distinction between labelled and unlabelled types is to characterize the pieces; i.e., combinatorial types of (un)labelled pieces are, respectively, (un)labelled combinatorial types.
Isotopy.
In [1] Chaiken and we defined two kinds of isotopy of nonattacking configurations, each of which produces an equivalence relation on them. The simpler one is continuous isotopy. Allow pieces to occupy any real point in the board. Continuous isotopy means moving the pieces around in any way that keeps the configuration nonattacking throughout. For discrete isotopy the pieces stay on integral points but we are allowed to refine the grid at will, by increasing by a large multiplier. The following lemma is partly explicit and partly implicit in [1, Section 5].
Lemma 2.1**.**
Isotopy, discrete isotopy, and having the same labelled combinatorial type produce the same equivalence relation on nonattacking configurations of labelled pieces.
Consequently, to count combinatorial types it is not necessary to place pieces on integral points of a dilated board; they can be placed anywhere in the polygon .
Proof.
The equivalence of isotopy and discrete isotopy is [1, Theorem 5.4]. It was stated in [1] for boards with rational vertices but that restriction is unnecessary.
Obviously, isotopy preserves combinatorial type (labelled, for the proof). The converse is also true: two nonattacking configurations with the same combinatorial type are isotopic. This follows from the fact that a combinatorial type corresponds to a region of a hyperplane arrangement in , as shown in [1, Lemma 5.2]. Thus, isotopy is equivalent to having the same combinatorial type. ∎
Irrationality.
What we are really doing, in part, is counting the regions of an arrangement of lines of the following form. There are a set of slopes and a set of points in the plane. Through each of the points there is a line with each of the slopes. In the previous work with Chaiken we assumed rational slopes (counting as an honorary rational slope). For combinatorial types that is unnecessary, just as it is not necessary to place pieces on board square. Our arguments for and do not depend on rationality of the slopes.
Projective Transformation.
Suppose is a rider with move set . We may convert into another rider by applying a projective transformation to and . Under the transformation, a nonattacking configuration of copies of (either labelled or unlabelled) becomes a nonattacking configuration of copies of , which has the same combinatorial type because the regions of map to the regions of . Thus the combinatorial types for the two pieces are in natural bijection, although one may have rational slopes and the other not. We apply this principle later to prove Theorem 4.1.
There is a subtle aspect to projective transformation. It can transform any ordered set of three move lines to any other, but it may not transform the first move set to the second move set because it does not necessarily preserve the orientations of the basic moves. For example, may transform to (respectively) but not to . Thus, projective transformation preserves combinatorial types up to reorientation but not necessarily absolutely.
3. Three riders and any number of basic moves
The formula for the number of combinatorial types of nonattacking configuration of three riders is based on counting regions of overlapping move-line arrangements. We use a classic result of Steiner.
Lemma 3.1** (Steiner [5]).**
Suppose we have lines in the plane , whose intersection points consist, for each , of points at which lines intersect. Then the number of regions formed by the lines is .
Suppose we have such an arrangement of lines and a board . By taking a sufficiently large dilation of we can ensure that all intersection points are inside the dilation and all regions in the plane do intersect the dilation. Thus, for counting regions in the dilated board we can ignore the board and pretend it is the whole plane. That is why the number of combinatorial types of nonattacking configuration is independent of the board.
Theorem 3.2**.**
On any board, let be a rider with basic moves. The number of combinatorial types of nonattacking unlabelled copies of on dilations of the board equals . The set of combinatorial types depends only on and, up to reorientation, is independent of the move set.
Proof.
We suppose the three pieces are labelled . To make a nonattacking configuration we place anywhere in the (open) board, then inside a region of the move-line arrangement centered at , and finally inside any region of the combined move-line arrangements of and ; that is, of .
According to Lemma 2.1, the number of labelled combinatorial types is the number of ways to choose the region for and then for .
When we place , we put it inside a region of , which we choose out of possible regions. Due to Lemma 2.1, any point in that region is equivalent to any other.
When we place , we put it in a region of , so we need to calculate the number of regions of this arrangement. For that, we need to find the intersection points. First, is located on an -fold intersection, as it is on all lines of but no other lines (since and are nonattacking). Thus, . There are no multiple intersections away from the pieces because two lines of the same already meet at . Line intersects every line of at a separate point, except for , to which it is parallel. Thus, .
It follows from Lemma 3.1 that has regions.
Since could have been in any of the regions of , we multiply by .
Finally, we divide by because the three pieces are actually unlabelled.
To complete the proof we show that the combinatorial types of regions of are independent of where we place within a fixed region of . We do this by describing all the regions of and observing that the descriptions depend only on the region of occupied by .
By rotating the configuration and slopes (as explained under “Projective transformation” in Section 2) we can ensure that the region of in which we will place is bounded by the positive horizontal ray out of . By another affine transformation we can arrange the slopes to be and to be the fourth quadrant. Thus the argument for any choice of is the same and we can assume a simple form for the move-line arrangements.
The irrelevance of where lies in is obvious from Figure 2. The regions of are cones with apex at and a region of is the intersection of two of these cones. Each cone is either , bounded by rays with directions and for or and for , or one of the negatives . The four cones with are special since they are quadrants and the pieces are in two of them: in with apex and in with apex . That explains why the exact location of is unimportant.
∎
4. Any number of riders having three basic moves
We have another theorem involving the number three. We can show that every rider with three basic moves has the same number of combinatorial types of nonattacking configuration. We do not offer a formula. We expect it to be complicated—unlike the proof.
Theorem 4.1**.**
On any board, let be any rider with basic moves. The number of combinatorial types of nonattacking unlabelled copies of on dilations of the board is independent of the move set. The set of combinatorial types is independent of the move set up to reorientation.
Proof.
We again rely on Lemma 2.1 to assume pieces can be placed anywhere in the board so long as they do not attack. Since we need not worry about integral points, a projective transformation does not change the problem.
Every 3-move rider can be transformed by a projective transformation so that its slopes are . It follows that all 3-move riders are projectively equivalent. The theorem follows. ∎
We were led to this theorem by applying Kotěšovec’s quasipolynomial formulas to count combinatorial types of of two different 3-move riders: the semiqueen [3, p. 732], which has the queen’s move lines except for one diagonal line, and the trident (his “bishop + semirook”) [3, p. 730], which has the queen’s move lines without the horizontal. We substituted in both formulas and found the same result: 151 unlabelled combinatorial types. Kotěšovec has also empirically calculated the counting quasipolynomials for nonattacking configurations of up to semiqueens and triangular rooks, pieces that are equivalent to semiqueens on a triangular board. As Theorem 4.1 predicts, the numbers of unlabelled combinatorial types are the same for both boards even though the complete counting formulas differ. See the numbers in Table 1 and Kotěšovec’s formulas in [4, Sequences A202654–A202657] for 3 to 6 semiqueens on the square board and [4, Sequences A193981–A193984] for 3 to 6 triangular rooks. This is the only comparison we were able to make for and of two pieces having the same number of basic moves.
5. Do fours fail?
With four or more pieces and basic moves, is there still a single formula in terms of , or in other words, is the number of combinatorial types of nonattacking configuration independent of the actual basic moves? We could not exclude the possibility. We studied the simplest case: four 4-move riders. When we place the third piece in a region, its exact location influences which combinatorial types are possible for the fourth piece. In Figure 3(a), with two pieces fixed, the location of the third piece in the shaded region affects the combinatorial types that are possible with a fourth piece. If a fourth piece is placed in a shaded region of Figure 3(b), the corresponding combinatorial type is not possible in Figure 3(c). For example, if the fourth piece is at the circle in Figure 3(b), it is west-northwest of the bottom two pieces and south-southwest of the top piece, which is not a possible placement in Figure 3(c).
We are led by Theorems 3.2 and 4.1 and by staring at diagrams like those in Figure 3(b, c) to speculate that the actual combinatorial types of nonattacking configuration may be, up to reorientation, independent of the move set and depend only on and . Deciding that looks difficult.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] S. Chaiken, C. R. H. Hanusa, and T. Zaslavsky, A q 𝑞 q -queens problem. I. General theory. Electron. J. Combin. 21 (2014), no. 3, Paper #P 3.33, 28 pp. MR 3262270, Zbl 1298.05021.
- 2[2] S. Chaiken, C. R. H. Hanusa, and T. Zaslavsky, A q 𝑞 q -queens problem. III. Nonattacking partial queens. Australasian J. Combin. 74 (2019), no. 2, 305–331. MR 3949476. Zbl 1419.05015.
- 3[3] V. Kotěšovec, Non-attacking chess pieces (chess and mathematics) [ Šach a matematika - počty rozmístění neohrožujících se kamenů ]. Self-published online book, Apr. 2010; 6th ed., Feb. 2013. http://www.kotesovec.cz/math.htm and https://oeis.org/wiki/User:Vaclav_Kotesovec
- 4[4] N. J. A. Sloane, The On-Line Encyclopedia of Integer Sequences , http://oeis.org/
- 5[5] J. Steiner, Einige Gesetze über die Theilung der Ebene und des Raumes. J. reine angew. Math. 1 (1826), 349–364. Repr. in Jacob Steiner, Gesammelte Werke, Erster Band, No. 3, pp. 77–94.
