Box 3 every row, column and 3 fill in all blank cells making sure that contains the numbers 1 to 9.
First, carefully possible values for each empty cell’ or not able to get very far without maintaining a candidate list. To do this by hand is laborious and error-prone, and generally detracts from the fun of solving this puzzle. Fortunately, the implementation of simple logic programs to solve every Sudoku puzzle such leaving you with the fun, will do this for you.
Or if a program that will help – each empty cell analysis systematically. The assumption that any number between 1 and 9 (or value), and then already a corresponding row, column and 3×3 box, you can delete all the values that are assigned to other cells to start with. These candidates for each empty cell with a list of leaves. Until the puzzle is solved, the following logical steps. excluding candidates from the empty cells only when new values arise and how simple steps to more difficult steps with progress.
. This value is the only candidate that can safely be assigned to any cells
whenever a value is assigned to a cell with this value in the same row, column be excluded as a candidate from all other blank cells sharing is very important and the box. (We’ll do this for you automatically demanding programs, such a step also Simple Sudoku.)
Very often, there is a particular row, column or box only for the candidate, but the candidates from amongst other secret
In the example on the right, the candidate 6 is only found in the middle right cell of the 3×3 box . Since each box mu
st be a 6, this cell must be that 6.
Beyond The Basics:
the above two steps assigns the value directly to the cell they are the only ones, although they only solve simple puzzles. Sudoku today is not as popular otherwise, it’s not lucky. (Increased complexity) the following steps sooner or later, therefore, to reduce the number of candidates in blank cells in a ‘single’ candidate ‘or ‘ hidden’ the only candidate that will appear.
Locked Candidates 1:
Sometimes a candidate limited to a row or column in a box. Since one of these cells must contain specific candidate, the candidate can safely be excluded, and the remaining cells in that row or column out of the box.
In the following example, there are only 2 candidate on the bottom line of the right box. One of these cells must be 2, since cell 2 on the line for no reason outside of the box from the highlighted cells as the candidate may not be a 2. you may be.
Locked Candidates 2:
Sometimes candidate is limited to one box in a row or in a column. Since one of these cells must contain specific candidate, the candidate can safely be excluded, and the remaining cells in the box.
In the example on the right, the left column in box 9 There are only the middle candidate. Therefore, these cells 9 in the left column, except those on 9 one side of all the cells in the middle safe at this may be outside the box, otherwise it would be without column 9) should be.
|Naked Triples & Naked Quads:
The same principle that applies to Naked Pairs applies to Naked Triples & Naked Quads.
A Naked Triple occurs when three cells in a group contain no candidates other that the same three candidates. The cells which make up a Naked Triple don’t have to contain every candidate of the triple. If these candidates are found in other cells in the group they can be excluded.
In the example on the right, a Naked Triple is formed by the top left, bottom left & bottom right cells of a box since they only contain the candidates 1, 4 & 6. Therefore the candidates 1 & 4 in the highlighted cells can be excluded safely.
|A Naked Quad occurs when four cells in a group contain no candidates other that the same four candidates.
In the example on the right, the candidates 2, 5, 7 & 9 in the 3 left most cells and bottom middle cell of a box form a Naked Quad. Therefore candidates 5 & 7 that are in the highlighted cells can b
If two cells in a group contain a pair of candidates (hidden amongst other candidates) that are not found in any other cells in that group, then other candidates in those two cells can be excluded safely.
In the example on the right, the candidates 1 & 9 are only located in two highlighted cells of a box, and therefore form a ‘hidden’ pair. All candidates except 1 & 9 can safely be excluded from these two cells as one cell must be the 1 while the other must be the 9.
If three candidates are restricted to three cells in a given group, then all other candidates in those three cells can be excluded.
In the example below, the candidates 3, 6 and 7 are found only in column four, six and seven. Therefore, all other candidates can be excluded from those three cells.
Hidden triples are generally extremely hard to spot but fortunately they’re rarely required to solve a puzzle.
If four candidates are restricted to four cells in a given group, then all other candidates in those four cells can be excluded.
Hidden Quads are very rare, which is fortunate since they’re almost impossible to spot even when you know they’re there.
Try and spot the Hidden Quad in the row below.
For the Addict:
|The following techniques are no more difficult than those above but requires observation as to how specific candidates relate to each other (in particular patterns) beyond any given row, column or box.
This will be understood more easily by examining the example below. Filtering has been added so only candidate 6’s are visible. (Cells which contain the filtered candidate are automatically highlighted pale green in Simple Sudokuunless subsequently recolored – which is the case for the blue cells this example).
The cells marked with a blue highlight form an “X-Wing” since rows one and nine both have only two cells with candidate 6’s and these two cells share the same two columns. Therefore, other candidate 6’s in columns six and nine (highlighted yellow) can safely be removed.
(Note: Candidate C must be assigned to either 1) the top-left and bottom-right corners, or 2) the bottom-left and top-right corners of the rectangular grid created by these two rows and columns. The pattern created by these crossed diagonals is the likely origin to this technique’s name.)
The Swordfish pattern is a variation on the “X-Wing” pattern above.
Given a particular puzzle that has three rows where a given candidate ‘C’ is restricted to the same three columns, and since
then candidate C must be assigned exactly once in each of these three columns within these three rows. Therefore, it’s not possible for any other cells in these three columns to contain candidate C.
In the example below, filtering has been added so only candidate 5’s are visible.
Three rows (three, five & seven) have candidate 5 in no more than three cells (only two cells each in this example), and these cells all share the same three columns (three, four & seven). A “Swordfish” pattern is established. Other candidate 5’s in these three columns (highlighted yellow) can be excluded safely.
Note: As shown in this example, there does not have to be exactly 3 cells in each row (or column), there may be less. However, there must not be more that three candidates in the pattern defining rows.
If you’re particularly observant, you’ll also spot the reciprocal Swordfish in the example above (which excludes the same candidates). Anyhow, it doesn’t matter which Swordfish you spot first …
Still confused? Click here for a bit more on Swordfish.
The X-Wing and Swordfish techniques can be further generalised to include rows containing candidates restricted to four cells in the same four columns (called a Jellyfish).
|Solving with Colors:
Of interest are individual candidates which are in only two cells in a given group (a row, column or box). Those two cells have a ‘conjugate’ relationship where one must be the value (true) while the other must not (false). Because we don’t yet know which is which, a recognised strategy is to visualise this relationship using two colors (and I’ve arbitrarily chosen blue and green for the following examples). Typically there are a number of ‘conjugate pairs’ present at any given time. Sometimes these conjugate pairs link with other conjugate pairs forming a chain of alternate true/false cell states, and these chains may expose candidates which can be excluded safely.
Whenever two cells in a conjugate chain have the same color and also share the same group, that color must be the ‘false’ color since each group can only have one of any value.
In the following example, filtering has been added so only candidate 9’s are visible. (Cells which contain the filtered candidate are automatically highlighted pale green in Simple Sudoku unless subsequently recolored – which is the case for all but one cell in this example). It is easy to see that there are a number of conjugate relationships allowing alternate coloring in a chain. Starting with the cell R2C2, which I’ve arbitrarily colored green, it has 2 conjugates – cells R6C2 (since there are only 2 candidate 9’s in Column 2) and cell R2C3 (since there are only 2 candidate 9’s in row 2) which I’ve colored blue. Both these 2 blue cells (R6C2 & R2C3) have other conjugate cells which I’ve colored green. Repeating this technique around the grid we soon discover that there are blue cells sharing the same group. Since any group can only have one of a given value, the blue cells must represent the false values so all bright green cells can safely be assigned the value 9.
Also, whenever a candidate outside the chain relates by column, row or box to two alternately colored cells in a conjugate chain, that ‘non-chain’ candidate can be excluded.
This is best understood by looking at the example below. Filtering has been applied so only candidate 5’s are visible. The cells labeled A & B form a conjugate pair as they are the only candidate 5’s in column eight. Cells labelled B & C also form a conjugate pair as they are the only candidate 5’s in the bottom right box. Finally, cells C & D form a conjugate pair as they are the only candidate 5’s in row eight. As these three conjugate pairs all link together by separate conjugate relationships, they form a chain and can be colored alternately as shown. The yellow highlighted cell remotely relates to linked conjugate pairs of alternate colors (cells A & D). Since one of the two colors (blue & green) represents the true value 5, this remote candidate can safely be excluded.
Solving with Multi-Colors:
Type 1: If ‘Blue’ shares a group with ‘Pink’ and ‘Orange’ then ‘Blue’ must be the false candidate since either ‘Pink’ or ‘Orange’ must be true.
Example of Type 1:
Filtering on 7s and given that Blue & Bright Green are conjugate cells as are the Pink and Orange cells – then since either Pink or Orange must be ‘true’, then the Blue cells must be the ‘false’ cells since they share a group with both Pink and Orange. Candidate 7 can be excluded from all Blue cells.
Type 2: If ‘Blue’ shares a group with ‘Orange’ then any cell with the given candidate and sharing a group with both ‘Green’ and ‘Pink’ can have that candidate excluded. Reason: Since ‘Blue’ and ‘Orange’ can’t both be true, then either one or both of ‘Green’ and ‘Pink’ must be true. Therefore any cell sharing a group with both ‘Green’ and ‘Pink’ can safely have that candidate excluded.
Example of Type 2:
Filtering on 4s and given that Blue & Bright Green are conjugate cells as are the Pink and Orange cells – then the Orange and Blue cells can’t both be ‘true’ cells as they share a group. Therefore one or both of the Pink and Bright Green cells must be ‘true’ and, consequently, any cells which share a group with both Pink and Bright Green cells (ie r7c9) can have candidate 4 removed from that cell.
Given 3 cells where –
then any other cell which shares a group with both ‘branch’ cells can have excluded the ‘z’ candidate that is common to these ‘branch’ cells.
Proof: If a cell sharing a group with both branch cells is assigned the ‘z’ candidate, then neither branch can be assigned the ‘z’ candidate. Consequently, one branch would be the ‘x’ and the other the ‘y’ leaving the ‘stem’ without a candidate, an invalid state.
Note: If all 3 cells in a xy-wing pattern shared the same group, then they would be called a ‘naked triple’.
R7C5 (A) is the ‘stem’ cell, and R1C5 (B) & R8C6 (C) are the ‘branch’ cells with candidate ‘5’ common to both branches. Therefore, any cells which share a group with both these branches can safely have candidate 5 excluded (ie cells R1C6 & R9C5 as illustrated).
Finally, there are still other documented solving techniques (eg “Forcing Chains”) which are beyond the scope of this webpage. There are some puzzles which can’t be solved using simple logic and the only way to solve them is by resorting to trial-and-error. There are also some puzzles which have multiple solutions and are generally considered invalid or broken.
For more Sudoku : Web Sudoku
Source : http://angusj.com/sudoku/hints.php