English

The Chaos Within Sudoku

Chaotic Dynamics 2012-08-03 v1 Data Structures and Algorithms Computational Physics

Abstract

The mathematical structure of the widely popular Sudoku puzzles is akin to typical hard constraint satisfaction problems that lie at the heart of many applications, including protein folding and the general problem of finding the ground state of a glassy spin system. Via an exact mapping of Sudoku into a deterministic, continuous-time dynamical system, here we show that the difficulty of Sudoku translates into transient chaotic behavior exhibited by the dynamical system. In particular, we show that the escape rate κ\kappa, an invariant characteristic of transient chaos, provides a single scalar measure of the puzzle's hardness, which correlates well with human difficulty level ratings. Accordingly, η=log10κ\eta = -\log_{10}{\kappa} can be used to define a "Richter"-type scale for puzzle hardness, with easy puzzles falling in the range 0<η10 < \eta \leq 1, medium ones within 1<η21 < \eta \leq 2, hard in 2<η32 < \eta \leq 3 and ultra-hard with η>3\eta > 3. To our best knowledge, there are no known puzzles with η>4\eta > 4.

Cite

@article{arxiv.1208.0370,
  title  = {The Chaos Within Sudoku},
  author = {Maria Ercsey-Ravasz and Zoltan Toroczkai},
  journal= {arXiv preprint arXiv:1208.0370},
  year   = {2012}
}

Comments

9 pages, 4 color figures

R2 v1 2026-06-21T21:45:02.052Z