A grouped X-Chain is an X-Chain in which some nodes are groups instead of single cells. A group is two or three cells that hold the digit inside one box and also share one row or column. The group counts as one node: "the digit is somewhere in these cells". That lets a chain pass through a row, column or box where the digit has more than two places, which a plain X-Chain cannot use. SudokuWiki calls the technique Grouped X-Cycles.
Below is a real chain on the digit 1 with two groups. It removes two 1s, and in this position no plain X-Chain on 1 removes anything.
How a group links
Cells are named by row and column, so R4C7 is row 4, column 7. Groups are written with a plus: R7C8+R7C9 means "R7C8 or R7C9".
- Strong link with a group: in some row, column or box, every candidate for the digit is either in the group or in the other node. If the group holds no copy of the digit, the other node must.
- Weak link with a group: every cell of the group sees the other node. If the digit is anywhere in the group, the other node cannot hold it.
A group sees a cell in its own box, or in its own line. When a group is an end of the chain, a cell has to see every cell of the group to lose the digit.
A worked example on the digit 1
This position is from a puzzle in the Sudoku Royale library, after the basic techniques are used up. Only the 1s are shown.
- Not 1, reading from R7C8+R7C9
- Then 1
- Strong link
- Weak link
- 1 removed
Read it from the group in box 9 and assume neither R7C8 nor R7C9 is a 1.
- R7C8+R7C9 to R7C1, strong (row 7). Row 7 has 1 only in R7C1, R7C8 and R7C9. With the group out, R7C1 is the 1.
- R7C1 to R4C1, weak (column 1). They share column 1, so R4C1 is not 1.
- R4C1 to R6C1+R6C2, strong (box 4). Box 4 has 1 only in R4C1, R6C1 and R6C2. With R4C1 out, the 1 of box 4 is in R6C1 or R6C2. You do not need to know which.
- R6C1+R6C2 to R6C5, weak (row 6). Both group cells are in row 6 with R6C5, so whichever holds the 1, R6C5 is not 1.
- R6C5 to R8C5, strong (column 5). Column 5 has 1 only in R6C5 and R8C5. So R8C5 is 1.
That is six nodes and five links: three strong, two weak. Either the group in box 9 holds the 1, or R8C5 does.
Now find the cells that see both ends. R8C8 and R8C9 share row 8 with R8C5, and box 9 with both R7C8 and R7C9. Both lose their 1. R8C7 also sees all three, but it is already solved.
Link 4 is also strong, since row 6 has no other 1. As in any chain, a strong link can stand in for a weak one. In the actual solution both ends hold a 1 (R7C8 and R8C5), which a chain allows: it only promises at least one.
Why a plain X-Chain cannot do this
A plain X-Chain needs a house where the digit has exactly two places. Row 7 has three 1s and so does column 1, so R7C1 has no strong link on 1 as a single cell. The same goes for box 4 and row 6, which each have three. Grouping R7C8 with R7C9, and R6C1 with R6C2, turns those three-place houses into two-node strong links.
In this position no X-Chain on 1 with single cells only, of any length, removes a 1. None of these other patterns removes a 1 here either: skyscraper, 2-String Kite, empty rectangle, finned X-Wing, XY-Wing, W-Wing, XY-Chain, 3D Medusa.
How to find grouped X-Chains
- Pick one digit and list its strong links. First the plain ones: houses where the digit has exactly two places. Then the grouped ones: houses where the digit has three places, two of which sit in one box and line.
- Look at each box with two or three candidates in one line. Those cells are a group. Ask which house it completes: the line through it, or the box around it.
- Join strong links with weak links. A group sees a cell only if every group cell does. A cell in the same box always qualifies. A cell in the same line qualifies only when the group lies along that line.
- Check after every strong link. Look for cells with the digit that see every cell of both ends.
Grouped chains you may already know
- An empty rectangle is a short grouped X-Chain: the box's candidates lie on one row and one column of the box, and each arm acts as a group, linked through the box.
- A skyscraper is a three-link plain X-Chain. Swap one of its ends for a group and you have a grouped one.
- On several digits, the same group links fit into an alternating inference chain.
For the full order, see our list of sudoku techniques in learning order.
Practise single-digit links
The Dojo in Sudoku Royale has no X-Chain drill, grouped or plain. Its Simple Colouring drill trains tracing strong links on one digit across rows, columns and boxes, which is most of the work. Open the Simple Colouring drill on your iPhone.
Get Sudoku Royale: Free on iOSFrequently Asked Questions
What is a grouped X-Chain in sudoku?
An X-Chain on one digit where some nodes are groups: two or three cells with the digit in the same box and the same row or column. The group means the digit is somewhere in those cells. Links and eliminations work as in a plain X-Chain.
When can a group form a strong link?
When, in some row, column or box, every candidate for the digit is in the group or in the other node. If the group holds none, the other node must hold the digit.
Which cells can a grouped end eliminate from?
Only cells that see every cell of the group, as well as the other end. In the example on this page, R8C8 and R8C9 see both group cells through box 9 and the other end through row 8.
Is a grouped X-Chain the same as an X-Cycle?
SudokuWiki calls this Grouped X-Cycles. The chain on this page is an open one: it starts and ends on a strong link and does not loop back.
Is a grouped X-Chain the same as guessing?
No. You never place a digit to see what happens. The chain shows one of its two ends holds the digit in every solution, and the elimination holds in both cases.