Here's an explanation based on how to find an XY-Wing.
Bivalue cell: A cell with exactly two candidates in it.
Find two bivalue cells that
do not see each other and have one candidate value in common; e.g., the cells <13> and <23> below have only the candidate <3> in common. These cells are called the pincer cells.
Now, look in all of the (*) cells that see both of the original cells. If you find a bivalue cell that contains the non-common candidates from the first two cells, then you have an XY-Xing; e.g., the cell with <12> below. This cell is called the pivot/vertex cell.
At this point, you can eliminate the common candidate from the remaining (*) cells.
- Code: Select all
+-----------------------------------+
| . . . | . . . | . . . |
| . 12* . | . . . | . . 13 |
| . . . | . . . | . . . |
|-----------+-----------+-----------|
| . . . | . . . | . . . |
| . . . | . . . | . . . |
| . . . | . . . | . . . |
|-----------+-----------+-----------|
| . . . | . . . | . . . |
| . 23 . | . . . | . . -3* |
| . . . | . . . | . . . |
+-----------------------------------+
- Code: Select all
+-----------------------------------+
| . . . | . . . | -3* . . |
| . . . | . . . | -3* . 13 |
| . . . | . . . | -3* . . |
|-----------+-----------+-----------|
| . . . | . . . | . . . |
| . . . | . . . | . . . |
| . . . | . . . | . . . |
|-----------+-----------+-----------|
| . . . | . . . | . . -3* |
| . . . | . . . | 23 . -3* |
| . . . | . . . | . . 12* |
+-----------------------------------+
Once you learn this approach, you can easily alter the second grid to test for an XYZ-Wing at the same time.
- Code: Select all
+-----------------------------------+
| . . . | . . . | . . . |
| . . . | . . . | . . 13 |
| . . . | . . . | . . . |
|-----------+-----------+-----------|
| . . . | . . . | . . . |
| . . . | . . . | . . . |
| . . . | . . . | . . . |
|-----------+-----------+-----------|
| . . . | . . . | . . -3* |
| . . . | . . . | 23 . -3* |
| . . . | . . . | . . 123*|
+-----------------------------------+