- Code: Select all
*--------------------------------------------------*
| 2 5 7 | 36 1 36 | 4 8 9 |
| 9 1 6 | 8 4 27A | 3 27a 5 |
| 8 3 4 | 27 5 9 | 1 6 27A |
|----------------+----------------+----------------|
| 7 9 5 | 134 2 13 | 8 14 6 |
| 1 8 3 | 467 9 6(7) | 2 5 47a |
| 4 6 2 | 157 8 157 | 9 17 3 |
|----------------+----------------+----------------|
| 56 7 1 | 29 3 8 | 56 249 24 |
| 35 2 8 | 59 6 4 | 7 39 1 |
| 356 4 9 | 125 7 125 | 56 23 8 |
*--------------------------------------------------*
Colors does not rely on bivalue cells. It relies on conjugate pairs of cells. By conjugate it is meant that one cell must be true for a candidate, and the other false, or vice versa.
Look at the 7s in row 2. There are two of them, r2c6 and r2c8. One of them must be true for 7 and the other false. They form a conjugate pair. Mark r2c6 "A" and r2c8 "a".
Look at box 3. There are exactly two 7s, r2c8 and r3c9. One must be true for 7 and the other false. r2c8 is already marked "a", so mark r3c9 "A". Either all the "A" cells are true for 7 or all the "a" cells are true for 7.
Look at column 9. There's a conjugate pair of 7s in r9c3 and r9c5. r9c3 is already an "A" so mark R9c5 an "a". Either all the "A" cells are 7 or all the "a" cells are 7.
Now, look at r5c6. It shares a column with the "A" in r2c6, so if "A" is true for 7 r5c6 cannot be a 7. It also shares a row with "a", so if "a" is true for 7 r5c6 cannot be a 7.
Since either "a" or "A" must be a 7, and r5c6 sees both, it cannot possibly be a 7.
So exclude the 7 from r5c6.
Simple Sudoku uses blue for "A" and green for "a" in this case.
I don't see how this could be considered trial and error. It's easy to see that either all the greens or all the blues are 7, so any cells that see both blue and green cannot possibly be 7.
Simple.
If you don't like coloring, a simple xy chain produces the same exclusion:
7-(r2c6)-2-(r2c8)-7-(r3c9)-2-(r7c9)-4-(r5c9)-7
Pick any of the bivalue cells in the chain and set it to one of its possibilities, notice what that implies for r2c6 and r5c9. Then set it to its other possible value and follow the implications. You'll see that either r2c6 or r5c9 has to be a 7. So r5c6, which sees both, cannot be a 7.
- Code: Select all
*--------------------------------------------------*
| 2 5 7 | 36 1 36 | 4 8 9 |
| 9 1 6 | 8 4 27* | 3 27^ 5 |
| 8 3 4 | 27 5 9 | 1 6 27^ |
|----------------+----------------+----------------|
| 7 9 5 | 134 2 13 | 8 14 6 |
| 1 8 3 | 467 9 6(7) | 2 5 47* |
| 4 6 2 | 157 8 157 | 9 17 3 |
|----------------+----------------+----------------|
| 56 7 1 | 29 3 8 | 56 249 24^ |
| 35 2 8 | 59 6 4 | 7 39 1 |
| 356 4 9 | 125 7 125 | 56 23 8 |
*--------------------------------------------------*
Above, the ends of the chain are marked with "*", the other cells in the chain are marked with "^", and the candidate that gets excluded has "()" around it.
Another solution would be to observe that if r9c1<>3 the puzzle would have multiple solutions, since there would be a deadly pattern : 56 in r7c17 r9c17. Since we assume there is but one solution, r9c1=3 and it's all singles from there.
- Code: Select all
*--------------------------------------------------*
| 2 5 7 | 36 1 36 | 4 8 9 |
| 9 1 6 | 8 4 27 | 3 27 5 |
| 8 3 4 | 27 5 9 | 1 6 27 |
|----------------+----------------+----------------|
| 7 9 5 | 134 2 13 | 8 14 6 |
| 1 8 3 | 467 9 67 | 2 5 47 |
| 4 6 2 | 157 8 157 | 9 17 3 |
|----------------+----------------+----------------|
| 56* 7 1 | 29 3 8 | 56* 249 24 |
| 35 2 8 | 59 6 4 | 7 39 1 |
| 356* 4 9 | 125 7 125 | 56* 23 8 |
*--------------------------------------------------*
The four cells above form a unique rectangle. If r9c1 <>3, then the grid would look like this:
- Code: Select all
*--------------------------------------------------*
| | | |
| | | |
| | | |
|----------------+----------------+----------------|
| | | |
| | | |
| | | |
|----------------+----------------+----------------|
| 56 | | 56 |
| | | |
| 56 | | 56 |
*--------------------------------------------------*
This is a dealdly pattern because there would be two solutions. Swap the 5s and 6s in the rectangle and everything would still work out.