跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

数学 > 一般数学

arXiv:2509.10472 (math)
[提交于 2025年8月26日]

标题:Linear Equations for Solving Partial Latin Squares and Sudokus

作者:Ralf Pöppel
查看论文《Linear Equations for Solving Partial Latin Squares and Sudokus》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:For Latin squares the units (rows and columns) have fixed sum. The same holds for rows, columns, and blocks in Sudokus. Summing the elements of a unit yields a linear equation, and the set of all such equations forms a system of linear equations that models the relations of the variables in Latin squares and Sudoku puzzles. Every completed Latin square or Sudoku satisfies this system, enabling analysis and completion of partially filled puzzles. The linear system provides necessary but not sufficient conditions for a solution. We analyze the structure and rank of these systems and establish limits on their ability to uniquely determine solutions. For Latin squares of size $n \times n$ with $k$ unknowns and Sudokus with block size $n = m \cdot l$, the system has full rank only if \[ k \leq 2n - 1 \quad \text{(Latin squares)}, \qquad k \leq 2n - 1 + (l - 1)(m - 1) \quad \text{(Sudokus)}. \] These conditions are necessary for uniqueness under the linear model, though counterexamples exist. We also highlight that this system captures only one of the three relations known to puzzle solvers, requiring extensions with additional (nonlinear) constraints for complete solutions. Our analysis shows that certain partial Latin squares and Sudokus can be solved in polynomial time using Gaussian elimination, placing them in complexity class P, while the general completion problem remains NP-complete.
评论: 20 pages, includes examples, Octave source code available on GitHub
主题: 一般数学 (math.GM)
引用方式: arXiv:2509.10472 [math.GM]
  (或者 arXiv:2509.10472v1 [math.GM] 对于此版本)
  https://doi.org/10.48550/arXiv.2509.10472

提交历史

来自:Ralf Poeppel
[v1] 2025年8月26日 星期二 08:52:12 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-08
切换浏览方式为:
math.GM

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站