The sudoku:
- Code: Select all
. 6 1 | . 8 . | . . 7
. 7 . | 4 . . | . 8 .
. . . | . . 7 | 9 1 .
-------+-------+------
. 5 7 | 9 4 2 | 1 . .
1 9 . | 8 5 3 | . . .
. . 4 | 7 . . | 5 9 .
-------+-------+------
. 3 9 | 2 . . | . . 1
. 1 . | . . 4 | . . .
7 . . | 1 3 . | 2 5 .
The number state:
- Code: Select all
2|3|4|5|9 6 1 | 3|5 8 5|9 | 3|4 2|3|4 7
2|3|5|9 7 2|3|5 | 4 1|2|6|9 1|5|6|9 | 3|6 8 2|3|5|6
2|3|4|5|8 2|4|8 2|3|5|8 | 3|5|6 2|6 7 | 9 1 2|3|4|5|6
----------------------------+--------------------------+-----------------------------
3|6|8 5 7 | 9 4 2 | 1 3|6 3|6|8
1 9 2|6 | 8 5 3 | 4|6|7 2|4|6|7 2|4|6
2|3|6|8 2|8 4 | 7 1|6 1|6 | 5 9 2|3|6|8
----------------------------+--------------------------+-----------------------------
4|5|6|8 3 9 | 2 6|7 5|6|8 | 4|6|7|8 4|6|7 1
2|5|6|8 1 2|5|6|8 | 5|6 6|7|9 4 | 3|6|7|8 3|6|7 3|6|8|9
7 4|8 6|8 | 1 3 6|8|9 | 2 5 4|6|8|9
The solver outputs:
Consider the chain (9,2)-4-(7,1)-5-(7,6)-8-(9,6).
When the cell (9,2) contains the value 8, so does the cell (9,6) - a contradiction.
Therefore, the cell (9,2) cannot contain the value 8.
Can someone explain this chain to me ? Have a very hard time finding the logic in this.