arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1312.4398cs.DM
收藏

关于$n$ -gon中正确的$k$ -着色的数量

On the number of proper $k$-colorings in an $n$-gon

Shantanu Chhabra

摘要:

我们定义一个$n$ -边形为任何具有$n$顶点的凸多边形。令$V$表示多边形的顶点集。正确的$k$着色是指函数$f$:$V$ $\rightarrow$ $\{1, 2, 3, ... k\}$,使得对于任何两个顶点$u$和$v$,如果$f(u) = f(v)$,则$u$不与$v$相邻。本文的目的是发展一个递归算法来计算$n$ -边形中正确$k$ -着色的个数。所提出的算法可以很容易地解决,以获得显式表达式。这与从流行的常规解得到的显式表达式相匹配,从而证实了所提出的算法的正确性。通常,对于$n$和$k$的巨大值,显示由数千位数字组成的输出数字变得不切实际。我们报告的答案模某一数字。在这种情况下,所提出的算法被观察到运行略快于传统的递归算法。

英文摘要:

We define an $n$-gon to be any convex polygon with $n$ vertices. Let $V$ represent the set of vertices of the polygon. A proper $k$-coloring refers to a function, $f$ : $V$ $\rightarrow$ $\{1, 2, 3, ... k\}$, such that for any two vertices $u$ and $v$, if $f(u) = f(v)$, $u$ is not adjacent to $v$. The purpose of this paper is to develop a recursive algorithm to compute the number of proper $k$-colorings in an $n$-gon. The proposed algorithm can easily be solved to obtain the explicit expression. This matches the explicit expression obtained from the popular conventional solutions, which confirms the correctness of the proposed algorithm. Often, for huge values of $n$ and $k$, it becomes impractical to display the output numbers, which would consist of thousands of digits. We report the answer modulo a certain number. In such situations, the proposed algorithm is observed to run slightly faster than the conventional recursive algorithm.

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

↑