Anybody else addicted to solving sudokus??
I have a question of a theoretical nature:
Is there a measure for the complexity of a sudoku puzzle?
They are often labelled: Easy Medium Hard Evil. On what measure is this labeling based?
https://en.wikipedia.org/wiki/Sudoku
is the wikipedia article on Sudoku.
Difficulty ratings
The difficulty of a puzzle is based on the relevance and the positioning of the given numbers rather than their quantity. Surprisingly, most of the time the number of givens does not reflect a puzzle's difficulty. Computer solvers can estimate the difficulty for a human to find the solution, based on the complexity of the solving techniques required. Some online versions offer several difficulty levels.
Most publications sort their Sudoku puzzles into four or five rating levels, although the actual cut-off points and the names of the levels themselves can vary widely. Typically, however, the titles are synonyms of "easy", "intermediate", and "hard". (Extremely difficult puzzles are known as "diabolical" or "evil"). An easy puzzle can be solved using only scanning; an intermediate puzzle may take markup to solve; a hard puzzle will usually take analysis.
Another approach is to rely on the experience of a group of human test solvers. Puzzles can be published with a median solving time rather than an algorithmically defined difficulty level.
Difficulty is a very complex topic, subject to much debate on the Sudoku forums, because it may depend on the concepts and visual representations one is ready to use.
https://www.conceptispuzzles.com/articles/sudoku/diff_levels.htm
also discusses
measuring the complexity of Sudoku.
Perhaps a way to get insight into the complexity is to set up
4 by 4 sudoku's, 6 by 6 sudoku's, etc. Note. The number of cells must be
the square of a composite number.
https://www.setbb.com/phpbb/viewtopic.php?t=1333&sid=7d52d93d06ad7509b7bbc155820d536f&mforum=sudoku
discusses how to create sudoku puzzles.
https://number-puzzle.com/
sells the sudoku puzzle in many forms.
https://ed.markovich.googlepages.com/matlab_doku
is a web page that discusses the guessing algorithm for solving any Sudoku.
In it Ed explains that easy and medium Sudokus are distinguished from the
hard and easy by what methods are needed to solve them.
https://www.gamezebo.com/reviews/sudoku_maya_gold_review.html
is a description of an electronic sudoku puzzle game.
The complexity of a sudoku must have to do with how deep you have to search for information to solve the puzzle. What is this depth of search measure? Does it give a linear order of the space of complexities?
For the easy and medium puzzles, you need only consider 1 digit at a time.
You can solve these by asking repetitiously two questions.
(1) For a given space, which digits can go in it.
(2) For a given region, ( row, column, or 3 by 3 block), and a given digit,
which squares in the region can contain that digit.
For the hard and evil puzzles, you need to be able to consider 2 or more digits at a time. (Or you may make guesses and backtrack when you reach an inconsistency.)
For two digits at a time, the question is:
(1) For a given region, (row, column, or 3 by 3 block), are there two spaces that have only the same two candidates?
If so, then the other spaces in that region, do not contain either of those candidates.
There are corresponding rules for 3 digits at a time, but I'm guessing that
those can be reduced to the two at a time rules.
I have not studied it enough to know for sure.
Since there are only finitely many puzzles of the standard kind is there an interesting extension of the definition of sudoku that creates a space of puzzles of size Aleph-null? Applying an extension of the depth of search measure to this set, and assuming this creates a linear order, what is the ordinal structure of this set?
I will guess that the search measure will be three dimensional for the three regions, row, column, and 3 by 3 block.
What other questions can be asked about this topic?
:) Invites some non-mathematical responses.
What is the least number of starting squares that have to be filled in for a unique solution?
For the 9 by 9, the least number, empirically is 18.
How many distinct sudoko puzzles, ( of a given size ) are there?
( Requires defining what is meant by distinct.)
and other questions which I have not ( yet ) thought of.
Kermit Rose <
[email protected] >