Parks:一类双重无限的NP完全谜题族与A002464的推广
Parks: A Doubly Infinite Family of NP-Complete Puzzles and Generalizations of A002464
AI总结:
该研究定义了双重无限的$(c,r)$-树Parks谜题族,证明其对任意$c,r$均为NP完全,且其解数是OEIS序列A002464的推广,建立了该谜题与国际象棋类谜题的关联。
摘要:
Parks谜题是一种纸笔解谜游戏,经典玩法是在带有不同颜色区域(即公园)的方格网格上进行。玩家需要在每一行、每一列以及每个公园中放置特定数量的“树”,要求所有树互不相邻,即便对角相邻也不允许。我们定义了这类谜题的一个双重无限族,即$(c, r)$-树Parks谜题,其中每一列需放置$c$棵树,每一行需放置$r$棵树。随后我们证明,对于任意$c$和$r$,$(c, r)$-树谜题的判定问题都是NP完全的。对每个$c$和$r$,存在一系列可行的棋盘尺寸$m \times n$,而这些尺寸下谜题的可行解数量构成了OEIS序列A002464的双重无限推广,该序列本身对应$c = r = 1$的情形。这一联系将Parks谜题与国际象棋类谜题问题关联起来,因为该序列描述的是在棋盘上放置互不攻击的国王、且每行每列恰好有一个国王的方式数(即将棋中互不攻击的龙王的放置方式数)。这些发现为国际象棋谜题集合新增了一类谜题,也扩充了已知的NP完全问题清单。
英文摘要:
The Parks Puzzle is a paper-and-pencil puzzle game that is classically played on a square grid with different colored regions (the parks). The player needs to place a certain number of "trees" in each row, column, and park such that none are adjacent, even diagonally. We define a doubly-infinite family of such puzzles, the $(c, r)$-tree Parks puzzles, where there need be $c$ trees per column and $r$ per row. We then prove that for each $c$ and $r$ the set of $(c, r)$-tree puzzles is NP-complete. For each $c$ and $r$, there is a sequence of possible board sizes $m \times n$, and the number of possible puzzle solutions for these board sizes is a doubly-infinite generalization of OEIS sequence A002464, which itself describes the case $c = r = 1$. This connects the Parks puzzle to chess-based puzzle problems, as the sequence describes the number of ways to place non-attacking kings on a chessboard so that there is exactly one in each column and row (i.e. to place non-attacking dragon kings in shogi). These findings add yet another puzzle to the set of chess puzzles and expands the list of known NP-complete problems described.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。