An example:
- Code: Select all
. . 8 | . . 5 | . . 3
. . . | . 1 . | . 7 .
. . 6 | . . 9 | . 4 .
-------+-------+------
. 9 . | . 7 . | . 1 .
. . 5 | . . . | 2 . .
. 4 . | . 2 . | . 6 .
-------+-------+------
. 5 . | 1 . . | 9 . .
. 2 . | . 8 . | . . .
3 . . | 6 . . | 4 . .
Thirty-three straightforward moves take us to the following position:
- Code: Select all
. 7 8 | . 6 5 | 1 9 3
9 3 . | . 1 . | . 7 .
5 1 6 | 7 3 9 | 8 4 2
-------+-------+------
. 9 . | . 7 6 | . 1 .
. 6 5 | 3 9 . | 2 8 .
. 4 . | . 2 . | . 6 9
-------+-------+------
6 5 7 | 1 4 2 | 9 3 8
. 2 . | 9 8 3 | . 5 .
3 8 9 | 6 5 7 | 4 2 1
2|4 7 8 | 2|4 6 5 | 1 9 3
9 3 2|4 | 2|4|8 1 4|8 | 5|6 7 5|6
5 1 6 | 7 3 9 | 8 4 2
----------------+----------------+---------------
2|8 9 2|3 | 4|5|8 7 6 | 3|5 1 4|5
1|7 6 5 | 3 9 1|4 | 2 8 4|7
1|7|8 4 1|3 | 5|8 2 1|8 | 3|5|7 6 9
----------------+----------------+---------------
6 5 7 | 1 4 2 | 9 3 8
1|4 2 1|4 | 9 8 3 | 6|7 5 6|7
3 8 9 | 6 5 7 | 4 2 1
whereupon:
- Code: Select all
Consider the cell r6c3.
When it contains the value 1, the values 5 and 8 in Row 6 must occupy the cells r6c4 and r6c6 in some order.
When it contains the value 3, the values 2 and 8 in Box 4 must occupy the cells r4c1 and r4c3 in some order.
Whichever value it contains, the cells r6c1 and r6c2 cannot contain the value 8.
- The move r6c1:=8 has been eliminated.
The cell r4c1 is the only candidate for the value 8 in Column 1.
after which the puzzle is once more straightforward.
As the above example makes clear, the disjoint subsets are sometimes trivial. Here are further examples of the pattern that have been left as exercises:
- Code: Select all
I.
. 5 . | . . 4 | 3 . 8
. . 2 | . . 6 | . . .
7 . . | 1 5 . | 2 . .
-------+-------+------
. 6 . | . . . | . . .
. . 9 | . . . | 5 . .
. . . | . . . | . 4 .
-------+-------+------
. . 8 | . 3 7 | . . 2
. . . | 9 . . | 1 . .
4 . 7 | 8 . . | . 9 .
II.
. . 3 | . . 1 | . . 8
. . . | . 4 . | . 7 .
. . 4 | . . 8 | . 5 .
-------+-------+------
. 9 . | . 2 . | . 3 .
. . 1 | . . . | 7 . .
. 5 . | . 6 . | . 9 .
-------+-------+------
. 7 . | 3 . . | 8 . .
. 6 . | . 9 . | . . .
2 . . | 4 . . | 5 . .
III.
. . 1 | . . 6 | . . 7
. . . | . 4 . | . 5 .
. . 8 | . . 3 | . 9 .
-------+-------+------
. 3 . | . 5 . | . 4 .
. . 6 | . . . | 2 . .
. 9 . | . 1 . | . 8 .
-------+-------+------
. 7 . | 4 . . | 3 . .
. 1 . | . 7 . | . . .
2 . . | 8 . . | 9 . .
The last example is particularly interesting as it involves three examples of the pattern.