The Math Behind Sudoku 2 Solving Strategy

background image

The Math Behind Sudoku

2. Solving Strategy

When one hears that no math is required to solve Sudoku, what is really meant is that

no arithmetic is required. The puzzle does not depend on the fact that the nine

placeholders used are the digits from 1 to 9. Any nine symbols would serve just as well

to create and solve the puzzles. In fact, mathematical thinking in the form of logical

deduction is very useful in solving Sudokus.

The most basic strategy to solve a Sudoku puzzle is to first write down, in each empty

cell, all possible entries that will not contradict the One Rule with respect to the given

cells. If a cell ends up having only one possible entry, it is a "forced" entry that you

should fill in.

Another way to proceed is to pick a number and a row, column, or block. Note all the

cells in the row, column, or block in which the number can be placed without violating

the One Rule. If the digit can only be placed in one cell in the neighborhood, you should

fill that cell in. Once you've done this, the chosen number can be eliminated from being

a possibility for any other cell in the neighborhood.

These two strategies are usually not enough to completely fill in a Sudoku grid. You

often need more complicated analysis methods to make progress, and sometimes you
need to make a guess and proceed, backtracking if the guess results in a conflict. One

more complicated strategy is to look at pairs or triples of cells within a row, column, or

block. You might find that a pair of cells has only two options of entries, but don't know

which goes where. What you can still gain from this observation is that those pair of

numbers cannot occur anywhere else in the neighborhood. This will decrease the

number of possibilities for the other cells in the neighborhood and help you get closer to

a solution. Similarly, a triple of cells having only three possibilities of entries between

them will eliminate these entries in all other cells in a neighborhood of this triple.

If no entries are forced, try to pick a box with the fewest number of possibilities and pick

one of them. Continue playing, using the strategies above and any other ones you

discover. If you reach a contradiction (a repeated digit in a row, column, or block), you

should retrace your steps and undo what you've done until you have no contradiction.


Document Outline


Wyszukiwarka

Podobne podstrony:
The Math Behind Sudoku 1 Introduction to sudoku
The Math Behind Sudoku 4 Solution Symmetries
The Math Behind Sudoku 7 References
The Math Behind Sudoku 3 Counting Solutions
The Math Behind Sudoku 5 The 4x4 case
The Math Behind Sudoku 6 Some More Interesting Facts
Dark Shadows The story behind the grand, Gothic set design
!R Gillman The Man Behind the Feminist Bible
Leaving the Past Behind
The Secrets Behind Subtle Psychology
Searching for the Neuropathology of Schizophrenia Neuroimaging Strategies and Findings
discover the science behind forgetting
The Ideas Behind The French Defence Exeter Chess Club
Gustav Mahler The meaning behind the symphonies
Sun Tzu The Art Of War And Strategy E Book
Hestenes D Reforming the math language of physics (geometric algebra)(Oersted medal lecture, 2002)(4
The woods behind my house DMC
Sun Tzu and the Project Battleground Creating Project Strategy from The Art of War

więcej podobnych podstron