English
Related papers

Related papers: The $n$-Queens Problem in Higher Dimensions

200 papers

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

The n-queens puzzle is a well-known combinatorial problem that requires to place n queens on an n x n chessboard so that no two queens can attack each other. Since the 19th century, this problem was studied by many mathematicians and…

Data Structures and Algorithms · Computer Science 2019-07-22 Matteo Fischetti , Domenico Salvagnin

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

Using modular arithmetic of the ring $\mathbb{Z}_{n+1}$ we obtain a new short solution to the problem of existence of at least one solution to the $N$-Queens problem on an $N \times N$ chessboard. It was proved, that these solutions can be…

Combinatorics · Mathematics 2018-05-21 Dmitrii Mikhailovskii

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

A linear algorithm is described for solving the n-Queens Completion problem for an arbitrary composition of k queens, consistently distributed on a chessboard of size n x n. Two important rules are used in the algorithm: a) the rule of…

Artificial Intelligence · Computer Science 2020-01-01 E. Grigoryan

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

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 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 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

The queen's graph $Q_{m \times n}$ has the squares of the $m \times n$ chessboard as its vertices; two squares are adjacent if they are in the same row, column, or diagonal of the board. A set $D$ of squares of $Q_{m \times n}$ is a…

Combinatorics · Mathematics 2019-12-16 Sándor Bozóki , Péter Gál , István Marosi , William D. Weakley

To count the number of maximum independent arrangements of $n^2$ kings on a $2n\times 2n$ chessboard, we build a $2^n \times (n+1)$ matrix whose entries are independent arrangements of $n$ kings on $2\times 2n$ rectangles. Utilizing upper…

Combinatorics · Mathematics 2022-01-19 Tricia Muldoon Brown

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…

This paper aims to study the graph radii and diameters induced by the $k$-dimensional versions of the well-known six international chess pieces on every finite $\{n \times n \times \dots \times n\} \subseteq \mathbb{Z}^k$ lattice since they…

History and Overview · Mathematics 2023-12-05 Marco Ripà

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

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

The $n$-Queens' graph, $\mathcal{Q}(n)$, is the graph associated to the $n \times n$ chessboard (a generalization of the classical $8 \times 8$ chessboard), with $n^2$ vertices, each one corresponding to a square of the chessboard. Two…

Combinatorics · Mathematics 2020-12-04 Domingos M. Cardoso , Inês Serôdio Costa , Rui Duarte

Using a bijective proof, we show the number of ways to arrange a maximum number of nonattacking pawns on a $2m\times 2m$ chessboard is ${2m\choose m}^2$, and more generally, the number of ways to arrange a maximum number of nonattacking…

Combinatorics · Mathematics 2019-10-07 Tricia Muldoon Brown

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 this paper we study the number $M_{m,n}$ of ways to place nonattacking pawns on an $m\times n$ chessboard. We find an upper bound for $M_{m,n}$ and analyse its asymptotic behavior. It turns out that $\lim_{m,n\to\infty}(M_{m,n})^{1/mn}$…

Combinatorics · Mathematics 2007-05-23 S. Kitaev , T. Mansour