English
Related papers

Related papers: Solving the n-Queens Problem in Higher Dimensions

200 papers

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 counting of solutions to the N-Queens problem is a classic NP-complete problem with extremely high computational complexity. As of now, the academic community has rigorously verified the number of solutions only up to N <= 26. In 2016,…

Distributed, Parallel, and Cluster Computing · Computer Science 2025-11-18 Guangchao Yao , Yali Li

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

Python currently is the dominant language in the field of Machine Learning but is often criticized for being slow to perform certain tasks. In this report, we use the well-known $N$-queens puzzle as a benchmark to show that once compiled…

Mathematical Software · Computer Science 2020-01-14 Pascal Fua , Krzysztof Lis

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

Some preliminary results are reported on the equivalence of any n-queens problem with the roots of a Boolean valued quadratic form via a generic dimensional reduction scheme. It is then proven that the solutions set is encoded in the…

Artificial Intelligence · Computer Science 2019-09-13 T. E. Raptis

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

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

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

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

A growing challenge in research and industrial engineering applications is the need for repeated, systematic analysis of large-scale computational models, for example, patient-specific digital twins of diseased human organs: The analysis…

Computational Engineering, Finance, and Science · Computer Science 2025-08-26 Jonas Biehler , Jonas Nitzler , Sebastian Brandstaeter , Maximilian Dinkel , Volker Gravemeier , Lea J. Haeusel , Gil Robalo Rei , Harald Willmann , Barbara Wirthl , Wolfgang A. Wall

Mean king's problem is a kind of quantum state discrimination problems. In the problem, we try to discriminate eigenstates of noncommutative observables with the help of classical delayed information. The problem has been investigated from…

Quantum Physics · Physics 2020-08-12 Masakazu Yoshida , Toru Kuriyama , Jun Cheng

We introduce and study a new search-type problem with ($n+1$)-robots on a disk. The searchers (robots) all start from the center of the disk, have unit speed, and can communicate wirelessly. The goal is for a distinguished robot (the queen)…

Discrete Mathematics · Computer Science 2018-05-10 J. Czyzowicz , K. Georgiou , R. Killick , E. Kranakis , D. Krizanc , L. Narayanan , J. Opatrny , S. Shende

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

Quantum computing has shown promise for solving complex optimization problems in databases, such as join ordering and index selection. Prior work often submits formulated problems directly to black-box quantum or quantum-inspired solvers…

Databases · Computer Science 2026-02-17 Hanwen Liu , Ibrahim Sabek

This paper presents a methodology for finding numerically, by means of curve-following, all real solutions of a general system of $n$ nonlinear equations in $n$ unknowns, within a given $n$-dimensional box. The main idea behind our method…

Numerical Analysis · Mathematics 2026-03-17 Katerina G. Hadjifotinou

The main problem considered in this paper is construction and theoretical study of efficient $n$-point coverings of a $d$-dimensional cube $[-1,1]^d$. Targeted values of $d$ are between 5 and 50; $n$ can be in hundreds or thousands and the…

Statistics Theory · Mathematics 2020-06-05 Jack Noonan , Anatoly Zhigljavsky

Matrix scaling is a simple to state, yet widely applicable linear-algebraic problem: the goal is to scale the rows and columns of a given non-negative matrix such that the rescaled matrix has prescribed row and column sums. Motivated by…

Quantum Physics · Physics 2021-10-01 Sander Gribling , Harold Nieuwboer

In the King's Problem, a physicist is asked to prepare a d-state quantum system in any state of her choosing and give it to a king who measures one of (d+1) sets of mutually unbiased observables on it. The physicist is then allowed to make…

Quantum Physics · Physics 2015-06-26 P. K. Aravind

We study a general quantum key distribution protocol in higher dimension. In this protocol, quantum states in arbitrary $g+1$ ($1\le g\le d$) out of all $d+1$ mutually unbiased bases in a d-dimensional system can be used for the key…

Quantum Physics · Physics 2012-02-02 Zhao-Xi Xiong , Han-Duo Shi , Yi-Nan Wang , Li Jing , Jin Lei , Liang-Zhu Mu , Heng Fan