An XY-Ring, also called an XY loop, is an XY-Chain that closes on itself: a ring of cells with exactly two candidates each, where every cell sees the next, neighbours share one digit, and the last cell links back to the first. In a ring, every link digit is in exactly one of its two cells. So for each link, that digit leaves every other cell that sees both cells of the link. An open XY-Chain removes one digit; a ring can remove a digit at every link.
Cells are named by row and column, so R4C7 is row 4, column 7. Below is a real five-cell ring from our library that removes four candidates in one step.
Why a closed ring removes more
Each ring cell has two digits, one shared with the cell before it and one shared with the cell after it. Pick any cell and suppose it is its first digit. Its neighbour on that digit cannot be the same, so it takes its other digit, and so on round the ring. Suppose instead it is its second digit, and the same thing runs the other way. The ring closes consistently either way, so there are exactly two ways to fill it.
In both ways, each link digit sits in one of its two cells, never in neither. For an open chain only the two ends work like that. In a ring every link does, so every link can give an elimination. That is the general rule of a continuous nice loop, applied to a loop made only of two-candidate cells.
A worked example: five cells, four eliminations
This position is from an expert-level puzzle in the Sudoku Royale library, after the basic techniques are used up. The ring runs through R1C5, R8C5, R8C9, R3C9 and R1C8.
- True if R1C5 is 6
- True if R1C5 is 9
- Inside a cell: one of two
- Between cells: the link digit
- Removed
The five links, starting at R1C5:
- R1C5 {6, 9} to R8C5 {8, 9} on 9, same column (column 5).
- R8C5 to R8C9 {4, 8} on 8, same row (row 8).
- R8C9 to R3C9 {4, 8} on 4, same column (column 9).
- R3C9 to R1C8 {6, 8} on 8, same box (box 3). They share no row or column.
- R1C8 back to R1C5 on 6, same row (row 1). This closes the ring.
Check the join: R1C5 enters the ring on 6 (from link 5) and leaves on 9 (link 1). Those are its two candidates, so the ring is closed properly. Every other cell also uses both of its digits, one per link.
The two ways to fill the ring
If R1C5 is 6: R1C8 is not 6, so it is 8. R3C9 is not 8, so it is 4. R8C9 is not 4, so it is 8. R8C5 is not 8, so it is 9. That leaves R1C5 free to be 6, so it fits.
If R1C5 is 9: R8C5 is 8, R8C9 is 4, R3C9 is 8, R1C8 is 6, and R1C5 is not 6, so it fits again.
What each link removes
- Link 1, 9 in column 5: R1C5 or R8C5 is 9, so R9C5 (6, 8, 9) loses its 9.
- Link 2, 8 in row 8: R8C5 or R8C9 is 8, so R8C7 (4, 7, 8, 9) loses its 8.
- Link 3, 4 in column 9: nothing to remove. Column 9 has a 4 only in R8C9 and R3C9.
- Link 4, 8 in box 3: R3C9 or R1C8 is 8, so R3C7 (4, 6, 8) loses its 8.
- Link 5, 6 in row 1: R1C8 or R1C5 is 6, so R1C3 (1, 6, 9) loses its 6.
You can get each of these from an open XY-Chain through the same five cells, by cutting the ring at that link. For example, cut at link 5 and you have a chain from R1C5 to R1C8 with a 6 at both ends, which removes the 6 from R1C3. But each open chain removes one digit, so you would need four chains. The ring gives all four at once, and you do not need to know which way it fills.
How to look for an XY-Ring
- Build an XY-Chain as usual. Start at a two-candidate cell, carry its other digit to a cell that sees it, and keep going. Our XY-Chain page shows the steps.
- Check if the last cell sees the first. When the digit you carry out of the last cell is the digit the first cell started with, and the two cells share a row, column or box, the chain closes into a ring.
- Collect one elimination set per link. For each link, take its digit and remove it from every cell outside the ring that sees both cells of that link. Some links remove nothing, like link 3 above.
If every cell in the ring holds the same two digits, it is a closed remote pairs chain, and its eliminations follow the remote pairs rule.
Train the links a ring is made of
The Dojo in Sudoku Royale has no ring or chain drill. Its XY-Wing drill trains the part an XY-Ring is built from: two-candidate cells that see each other and share a digit. Open the XY-Wing drill on your iPhone.
Get Sudoku Royale: Free on iOSFrequently Asked Questions
What is an XY-Ring in sudoku?
A closed XY-Chain: a ring of cells that each have exactly two candidates, where each cell sees the next, neighbours share a digit, and the last cell links back to the first. Each link digit is in exactly one of its two cells, so it can be removed from any other cell that sees both.
Is an XY-Ring the same as an XY loop?
Yes. Both names describe an XY-Chain that closes into a loop. It is a continuous nice loop made only of two-candidate cells.
How is an XY-Ring different from an XY-Chain?
An open XY-Chain has two ends that share one digit, and it removes that digit from cells seeing both ends. A ring has no ends, and every link gives its own elimination, so one ring can remove several different digits.
Does every link in an XY-Ring remove something?
Not always. A link removes its digit only from cells outside the ring that see both of its cells and still have that digit. In the example on this page, one of the five links removes nothing.