计算机科学 > 离散数学
[提交于 2016年9月30日 (v1),最后修订于 2016年12月29日 (此版本, v2)]
标题:Closed-Form Expressions for the n-Queens Problem and Related Problems
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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 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 $n$ 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.