Unofficial Hacker News companion — get notified on comment replies, and more.

Sudoku's Hidden Rule (opens external site)

482 points by multifasciatus 2 days ago | cyrusjavan.com | 215 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. I don't doubt your experience, but with all the Sudoku's I've played, if I end up with a degenerate solution, I know that I've made a mistake somewhere along the line.
    Replies (1)
    1. What do you mean by degenerate? A system of variables can be exactly determined, overdetermined or underdetermined.

      If the sudoku has an answer, it certainly can't be overdetermined. Assuming that, if you spot a contradiction, you know _you_, the solver, made a mistake somewhere.

      However, if you have no contradiction at all (each rule checks out: no duplicate numbers on rows, columns and within the 3x3 blocks), yet the answer is different from the "correct" one, you know that the system was underdetermined, and the sudoku had a flawed design, i.e. it wasn't "valid" to begin with.

      Replies (1)
      1. Oops, I should have said, "two or more identical solutions." I also noticed the hidden rule early on.