You can proceed like this
1.
XYwing = r6c3, r6c7, r4c7 => remove 1 from r4c1, r6c9
- Code: Select all
+------------+------------+-------------+
| 15 15 2 | 3 8 9 | 7 6 4 |
| 4 3 9 | 6 7 12 | 25 15 8 |
| 6 8 7 | 12 5 4 | 12 9 3 |
+------------+------------+-------------+
| 12 4 3 | 9 26 5 |+16 8 7 |
| 25 6 8 | 7 1 3 | 9 4 25 |
| 9 7 +15 | 4 26 8 |+56 3 125 |
+------------+------------+-------------+
| 8 9 15 | 25 3 12 | 4 7 6 |
| 3 15 6 | 15 4 7 | 8 2 9 |
| 7 2 4 | 8 9 6 | 3 15 15 |
+------------+------------+-------------+
If r6c7=6 => then r4c7=1 and => r4c1 is not 1
If r6c7=5 => then r6c3=1 and => r4c1 is not 1
In the same way you can remove 1 from r6c9
2.
BUG- Code: Select all
+------------+------------+-------------+
| 15 15 2 | 3 8 9 | 7 6 4 |
| 4 3 9 | 6 7 12 | 25 15 8 |
| 6 8 7 | 12 5 4 | 12 9 3 |
+------------+------------+-------------+
| 12 4 3 | 9 26 5 | 16 8 7 |
| 25 6 8 | 7 1 3 | 9 4 25 |
| 9 7 15 | 4 26 8 | 56 3 +125 |
+------------+------------+-------------+
| 8 9 15 | 25 3 12 | 4 7 6 |
| 3 15 6 | 15 4 7 | 8 2 9 |
| 7 2 4 | 8 9 6 | 3 15 15 |
+------------+------------+-------------+
If there is only one cell with three candidates, the correct number for that cell is the one that is in 3 cells in that cells row, column and box => r6c9 = 5