English
Related papers

Related papers: The $n$-queens problem

200 papers

A famous (and hard) chess problem asks what is the maximum number of safe squares possible in placing $n$ queens on an $n\times n$ board. We examine related problems from placing $n$ rooks. We prove that as $n\to\infty$, the probability…

Probability · Mathematics 2021-05-11 Steven J. Miller , Haoyu Sheng , Daniel Turek

Parts I-IV showed that the number of ways to place $q$ nonattacking queens or similar chess pieces on an $n\times n$ chessboard is a quasipolynomial function of $n$ whose coefficients are essentially polynomials in $q$. For partial queens,…

Combinatorics · Mathematics 2021-06-16 Seth Chaiken , Christopher R. H. Hanusa , Thomas Zaslavsky

We consider the problem of placing k queens on an nxn board so that the total number of attacked squares is as small as possible. In particular, we consider the domain where k is small relative to n and derive nearly tight bounds in this…

Combinatorics · Mathematics 2017-03-16 Daniel M Kane

In his list of open problems, Martin Erickson described a certain game: "Two players alternately put queens on an n x n chess board so that each new queen is not in range of any queen already on the board (the color of the queens is…

History and Overview · Mathematics 2014-04-22 Thomas Jenrich

We introduce a two player game on an n x n chessboard where queens are placed by alternating turns on a chessboard square whose availability is determined by the number of queens already on the board which can attack that square modulo two.…

Combinatorics · Mathematics 2015-10-13 Tricia Muldoon Brown , Abrahim Ladha

We apply our geometrical theory for counting placements of $q$ nonattacking on an $n\times n$ chessboard, from Parts~I and II, to partial queens: that is, chess pieces with any combination of horizontal, vertical, and $45^\circ$-diagonal…

Combinatorics · Mathematics 2021-06-21 Seth Chaiken , Christopher R. H. Hanusa , Thomas Zaslavsky

In Martin Gardner's October, 1976 Mathematical Games column in Scientific American, he posed the following problem: "What is the smallest number of [queens] you can put on a board of side n such that no [queen] can be added without creating…

Combinatorics · Mathematics 2014-03-10 Alec S. Cooper , Oleg Pikhurko , John R. Schmitt , Gregory S. Warrington

The N-Queens problem, placing all N queens in a N x N chessboard where none attack the other, is a classic problem for constraint satisfaction algorithms. While complete methods like backtracking guarantee a solution, their exponential time…

Artificial Intelligence · Computer Science 2025-12-05 Susmita Sharma , Aayush Shrestha , Sitasma Thapa , Prashant Timalsina , Prakash Poudyal

In this paper, we derive simple closed-form expressions for the $n$-queens problem and three related problems in terms of permanents of $(0,1)$ matrices. These formulas are the first of their kind. Moreover, they provide the first method…

Discrete Mathematics · Computer Science 2017-04-11 Kevin Pratt

The number of ways to place $q$ nonattacking queens, bishops, or similar chess pieces on an $n\times n$ square chessboard is essentially a quasipolynomial function of $n$ (by Part I of this series). The period of the quasipolynomial is…

Combinatorics · Mathematics 2021-06-21 Thomas Zaslavsky , Seth Chaiken , Christopher R. H. Hanusa

In this paper we study queen's graphs, which encode the moves by a queen on an $n\times m$ chess board, through the lens of chip-firing games. We prove that their gonality is equal to $nm$ minus the independence number of the graph, and…

Combinatorics · Mathematics 2024-07-22 Ralph Morrison , Noah Speeter

Number the cells of a (possibly infinite) chessboard in some way with the numbers 0, 1, 2, ... Consider the cells in order, placing a queen in a cell if and only if it would not attack any earlier queen. The problem is to determine the…

Combinatorics · Mathematics 2019-07-30 F. Michel Dekking , Jeffrey Shallit , N. J. A. Sloane

The $n$ queens problem considers the maximum number of safe squares on an $n \times n$ chess board when placing $n$ queens; the answer is only known for small $n$. Miller, Sheng and Turek considered instead $n$ randomly placed rooks,…

Combinatorics · Mathematics 2025-12-09 Caroline Cashman , Joseph Cooper , Raul Marquez , Steven J. Miller , Jenna Shuffelton

In Parts I-III we showed that the number of ways to place $q$ nonattacking queens or similar chess pieces on an $n\times n$ chessboard is a quasipolynomial function of $n$ whose coefficients are essentially polynomials in $q$. In this part…

Combinatorics · Mathematics 2021-06-16 Seth Chaiken , Christopher R. H. Hanusa , Thomas Zaslavsky

We generalize the recent results of Chaiken et al. to a rectangular $m\times n$ chessboard. An explicit formula for the number of nonattacking configurations of one-move riders on such a chessboard is calculated in two different ways, one…

Combinatorics · Mathematics 2015-01-28 Jaimal Ichharam

We consider the minimal number of points on a regular grid on the plane that generates $n$ line segments of points of exactly length $k$. We illustrate how this is related to the $n$-queens problem on the toroidal chessboard and show that…

Combinatorics · Mathematics 2023-03-31 Chai Wah Wu

Quantum computers can potentially solve problems that are computationally intractable on a classical computer in polynomial time using quantum-mechanical effects such as superposition and entanglement. The N-Queens Problem is a notable…

1. We first show a lower bound of 2N/3-1 for the connected minimum queen domination (or cover) problem on the NXN chessboard - the upper bound is only 2 higher at most and is easy to show. 2. We then define the k-colored connected minimum…

Combinatorics · Mathematics 2016-08-09 Sneha S. Venkatesan , S. M. Venkatesan

How many chess rooks or queens does it take to guard all the squares of a given polyomino, the union of square tiles from a square grid? This question is a version of the art gallery problem in which the guards can "see" whichever squares…

Computational Complexity · Computer Science 2018-11-21 Hannah Alpert , Érika Roldán

We introduce QUEENS, a derivative chess problem based on the classical n-queens problem. We prove that QUEENS is NP-complete, with respect to polynomial-time reductions.

Computational Complexity · Computer Science 2007-05-23 Barnaby Martin