English
Related papers

Related papers: The $n$-queens completion problem

200 papers

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

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

We study optimal configurations of Queens on a square chessboard, defined as those covering the maximum number of squares. For a fixed number of Queens, $q$, we prove the existence of two thresholds in board size: a non-attacking threshold…

By means of the Ehrhart theory of inside-out polytopes we establish a general counting theory for nonattacking placements of chess pieces with unbounded straight-line moves, such as the queen, on a polygonal convex board. The number of ways…

Combinatorics · Mathematics 2016-10-18 Seth Chaiken , Christopher R. H. Hanusa , Thomas Zaslavsky

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

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

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…

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

The function that counts the number of ways to place nonattacking identical chess or fairy chess pieces in a rectangular strip of fixed height and variable width, as a function of the width, is a piecewise polynomial which is eventually a…

Combinatorics · Mathematics 2016-10-18 Seth Chaiken , Christopher R. H. Hanusa , Thomas Zaslavsky

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

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

Define a queen on $\mathbb{Z}_n^d$ with admissible moves parallel to $\mathbf{x}\in\{-1,0,1\}^d$ at arbitrary length. How many queens can be placed on $\mathbb{Z}_n^d$ without any two in conflict? In two dimensions, this problem was…

Combinatorics · Mathematics 2024-07-16 Kada Williams

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

The peaceable queens problem asks to determine the maximum number $a(n)$ such that there is a placement of $a(n)$ white queens and $a(n)$ black queens on an $n \times n$ chessboard so that no queen can capture any queen of the opposite…

Combinatorics · Mathematics 2024-10-29 Katie Clinch , Matthew Drescher , Tony Huynh , Abdallah Saffidine

In this work, we have introduced two innovative quantum algorithms: the Direct Column Algorithm and the Quantum Backtracking Algorithm to solve N-Queens problem, which involves the arrangement of $N$ queens on an $N \times N$ chessboard…

Quantum Physics · Physics 2023-12-29 Santhosh G S , Piyush Joshi , Ayan Barui , Prasanta K. Panigrahi

Graph anticoloring problem is partial coloring problem where the main feature is the opposite rule of the graph coloring problem, i.e., if two vertices are adjacent, their assigned colors must be the same or at least one of them is…

Discrete Mathematics · Computer Science 2018-03-29 Luis Eduardo Urbán Rivero , Rafael López Bracho , Javier Ramírez Rodríguez

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

In 1976 Martin Gardner posed the following problem: ``What is the smallest number of [queens] you can put on an [$n \times n$ chessboard] such that no [queen] can be added without creating three in a row, a column, or a diagonal?'' The work…

Combinatorics · Mathematics 2024-01-09 Seunghwan Oh , John R. Schmitt , Xianzhi Wang

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

We study different domination problems of attacking and non-attacking rooks and queens on polyominoes and polycubes of all dimensions. Our main result proves that maximum independent domination is NP-complete for non-attacking queens and…

Combinatorics · Mathematics 2025-03-26 Alexis Langlois-Rémillard , Mia Müßig , Érika Róldan