It's a pity that this thread isn't kept uptodate anymore.
I think it's really helpful for anyone who's trying to code his own solver. So I'd like to contribute with a bunch of examples for
Sue De Coq which I implemented lately. I realize that this technique doesn't seem to be very popular, but I'm not particularly fond of chains and a pattern technique like this is actually easier for me to find.
All of the examples can be solved with singles and
Sue De Coq only
Ruud, I found that
SudoCue captures only less than two thirds of the possible
Sue De Coqs, so if you happen to look into this post you might want to check the extended examples. Only the first 4 are recognized by
SudoCue.
Sue De Coq# Basic form as devised by
Sue De Coq in his original post
3 unsolved cells with 5 candidates in the intersection of row 5 and box 6 and one bivalue cell in each the row and the box.
- Code: Select all
2..5.8...985...7............3......5....2....4...1.93...3..6.....2....6779.4.15.2
.------------------.------------------.-------------------.
| 2 167 147 | 5 469 8 | 146 149 3 |
| 9 8 5 | 13 46 23 | 7 124 146 |
| 3 16 14 | 17 469 27 | 12468 5 14689|
:------------------+------------------+-------------------:
| 6 3 179 | 79 8 47 | 12-4 127-4 5 |
| 5 @17 89-17 | 369-7 2 3-47 |*1468 *147 *1468 |
| 4 2 78 | 67 1 5 | 9 3 @68 |
:------------------+------------------+-------------------:
| 8 5 3 | 2 7 6 | 14 149 149 |
| 1 4 2 | 8 5 9 | 3 6 7 |
| 7 9 6 | 4 3 1 | 5 8 2 |
'------------------'------------------'-------------------'
{17} in the row, {68} in the box, {4} in the intersection and 7 eliminations
# Same pattern in column 9 and box 9
- Code: Select all
..7.13.6..8...4.922....8..5.....5..9......24.1...8....3.........9....6..825..1...
.---------------------.---------------------.-------------------------.
| 9 5 7 | 2 1 3 | 48 6 @48 |
| 6 8 13 | 57 57 4 | 13 9 2 |
| 2 14 134 | 69 69 8 | 137 137 5 |
:---------------------+---------------------+-------------------------:
| 47 6 28 | 1347 2347 5 | 1378 1378 9 |
| 5 37 89 | 1379 379 679 | 2 4 367-18 |
| 1 347 29 | 3479 8 2679 | 357 357 367 |
:---------------------+---------------------+-------------------------:
| 3 147 6 | 45789 24579 279 | 4589-17 258-17 *1478 |
| 47 9 14 | 34578 23457 27 | 6 258-137 *13478 |
| 8 2 5 | 34679 34679 1 | 49-37 @37 *347 |
'---------------------'---------------------'-------------------------'
{48} in the column, {37} in the box, {1} in the intersection and 11 eliminations
# 2 unsolved cells with 4 candidates in the intersection of row 1 and box 1 and one bivalue cell each in the row and the box.
- Code: Select all
.......5.96.8..4...3....9....764.......5....345.2..6..8...9...5...7.238....4.6.7.
.---------------.----------------.---------------.
|*127 4 *128 | 9 236-7 3-7 |@78 5 16-78|
| 9 6 @12 | 8 27 5 | 4 3 17 |
| 57 3 58 | 1 67 4 | 9 2 678 |
:---------------+----------------+---------------:
| 13 189 7 | 6 4 389 | 5 19 2 |
| 26 189 26 | 5 17 789 | 78 4 3 |
| 4 5 139 | 2 137 3789| 6 19 78 |
:---------------+----------------+---------------:
| 8 7 4 | 3 9 1 | 2 6 5 |
| 16 19 169 | 7 5 2 | 3 8 4 |
| 35 2 35 | 4 8 6 | 1 7 9 |
'---------------'----------------'---------------'
{78} in the row, {12} in the box and 4 eliminations
# 3 unsolved cells with 5 candidates in the intersection of column 3 and box 7, a bivalue cell in the box and a trivalue cell in the column.
- Code: Select all
52.....6....59........83..4..81...564.5.....26......9..4.8..1......3198..........
.--------------------.------------------.------------------.
| 5 2 3 | 7 1 4 | 8 6 9 |
| 78 78 4 | 5 9 6 | 2 3 1 |
| 19 16 @169 | 2 8 3 | 5 7 4 |
:--------------------+------------------+------------------:
| 237 37 8 | 1 24 9 | 47 5 6 |
| 4 9 5 | 6 7 8 | 3 1 2 |
| 6 17 27-1 | 3 245 25 | 47 9 8 |
:--------------------+------------------+------------------:
| 39-7 4 *79 | 8 6 57 | 1 2 357 |
|@27 56-7 *267 | 4 3 1 | 9 8 57 |
| 138-7 1358-7 *17 | 9 25 257 | 6 4 357 |
'--------------------'------------------'------------------'
{169} in the column, {27} in the box and 5 eliminations
# 2 unsolved cells with 5 candidates in the intersection of column 3 and box 4, one bivalue cell in the column and 2 cells in the box.
- Code: Select all
8..3...56.147...9.........16..4...89..2.9..........31...........76.5.......9.78.4
.-------------------.---------------.---------------.
| 8 29 @79 | 3 124 1249| 47 5 6 |
| 3 1 4 | 7 6 5 | 2 9 8 |
| 2579 6 5-79 | 28 248 2489| 47 3 1 |
:-------------------+---------------+---------------:
| 6 3 *17 | 4 127 12 | 5 8 9 |
|@15 @58 2 | 158 9 3 | 6 4 7 |
| 479-5 49-58 *5789 | 568 78 68 | 3 1 2 |
:-------------------+---------------+---------------:
| 1249 2489 138-9| 126 1234 1246| 19 7 5 |
| 149 7 6 | 18 5 148 | 19 2 3 |
| 125 25 135 | 9 123 7 | 8 6 4 |
'-------------------'---------------'---------------'
{79} in the column, {158} in the row and 6 eliminations
# 3 unsolved cells with 6 candidates in the intersection of row 5 and box 4, 2 cells each in the row and the box and an additional candidate in the box.
- Code: Select all
.....5864......5...3..41..9.5.....4.......9.2..2.74..6.27.5......8......6.9.13...
.------------------.-------------------.------------------.
| 279 79 1 | 2379 239 5 | 8 6 4 |
| 2479 679 46 | 2789 289 2789 | 5 13 13 |
| 8 3 5 | 6 4 1 | 27 27 9 |
:------------------+-------------------+------------------:
|@179 5 36 | 12389 23689 2689 | 13 4 78 |
|*147 *678 *346 | 15-38 @368 @68 | 9 57-8 2 |
|@19 8-9 2 | 13589 7 4 | 13 58 6 |
:------------------+-------------------+------------------:
| 3 2 7 | 489 5 689 | 46 19 18 |
| 5 1 8 | 2479 269 2679 | 46 39 37 |
| 6 4 9 | 78 1 3 | 27 278 5 |
'------------------'-------------------'------------------'
{368} in the row, {179} in the box, {4} in the intersection and 4 eliminations
# 2 unsolved cells with 5 candidates in the intersection of column 1 and box 4, 3 cells in the column, 2 cells in the row and one additional candidate each in the column and the box.
- Code: Select all
...7.....61.5.4........8.69......3....1.52...4..86.5.7....27..3.97....423........
.--------------------.------------------.------------------.
| 29-8 2348 23489 | 7 139 6 | 124 135 145 |
| 6 1 239 | 5 39 4 | 27 37 8 |
|@57 3457 345 | 2 13 8 | 14 6 9 |
:--------------------+------------------+------------------:
|*2589 568-2 568-29| 149 7 19 | 3 1289 146 |
|*789 678-3 1 | 349 5 2 | 4689 89 46 |
| 4 @23 @239 | 8 6 139 | 5 129 7 |
:--------------------+------------------+------------------:
|@158 4568 4568 | 169 2 7 | 1689 1589 3 |
|@15 9 7 | 136 8 135 | 16 4 2 |
| 3 2568 2568 | 169 4 159 | 16789 15789 156 |
'--------------------'------------------'------------------'
{1578} in the column, {239} in the box and 5 eliminations
[edit] Typos corrected. Thanks Mike.