On the number of proper -colorings in an -gon
arXiv:1312.4398
Abstract
We define an -gon to be any convex polygon with vertices. Let represent the set of vertices of the polygon. A proper -coloring refers to a function, : , such that for any two vertices and , if , is not adjacent to . The purpose of this paper is to develop a recursive algorithm to compute the number of proper -colorings in an -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 and , 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.
arXiv comment8 pages, 2 tables