English

Closed-Form Expressions for the n-Queens Problem and Related Problems

Discrete Mathematics 2017-04-11 v3 Combinatorics

Abstract

In this paper, we derive simple closed-form expressions for the nn-queens problem and three related problems in terms of permanents of (0,1)(0,1) matrices. These formulas are the first of their kind. Moreover, they provide the first method for solving these problems with polynomial space that has a nontrivial time complexity bound. We then show how a closed-form for the number of Latin squares of order nn follows from our method. Finally, we prove lower bounds. In particular, we show that the permanent of Schur's complex valued matrix is a lower bound for the toroidal semi-queens problem, or equivalently, the number of transversals in a cyclic Latin square.

Keywords

Cite

@article{arxiv.1609.09585,
  title  = {Closed-Form Expressions for the n-Queens Problem and Related Problems},
  author = {Kevin Pratt},
  journal= {arXiv preprint arXiv:1609.09585},
  year   = {2017}
}
R2 v1 2026-06-22T16:06:10.594Z