arXivDaily arXiv每日学术速递 周一至周五更新
arXiv math/0703227math.COmath.PR
收藏

拟多项式时间内的幻方计数

Counting magic squares in quasi-polynomial time

Alexander Barvinok, Alex Samorodnitsky, Alexander Yong

摘要:

本文给出了一个随机算法,它在给定正整数n和t以及实数0<n <1的情况下,计算n × n非负整数矩阵(幻方)的个数Sigma(n,t),其行列和等于t,且在相对误差范围内.该算法的计算复杂性为1/n的多项式和N=nt的拟多项式,即N^{log N}阶。该算法的简化版本在1/N和N的时间多项式中工作,并且在因子N^{log N}内估计Sigma(n,t)。这一简化版本已经实施。我们提出的实施结果,状态一些acetrutures,并讨论可能的推广。

英文摘要:

We present a randomized algorithm, which, given positive integers n and t and a real number 0< epsilon <1, computes the number Sigma(n, t) of n x n non-negative integer matrices (magic squares) with the row and column sums equal to t within relative error epsilon. The computational complexity of the algorithm is polynomial in 1/epsilon and quasi-polynomial in N=nt, that is, of the order N^{log N}. A simplified version of the algorithm works in time polynomial in 1/epsilon and N and estimates Sigma(n,t) within a factor of N^{log N}. This simplified version has been implemented. We present results of the implementation, state some conjectures, and discuss possible generalizations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑