A continuous nice loop is a closed chain of candidates whose links alternate strong and weak all the way round, with an even number of links. Its nodes split into two halves, taking every other node, and exactly one half is true. So every weak link in the loop acts like a strong one, and each gives an elimination. If the weak link is inside a cell, that cell loses every other candidate. If it joins one digit in two cells, that digit goes from every other cell that sees both.
Below is a real loop with ten links, five strong and five weak, that removes six candidates at once.
Strong and weak links
Cells are named by row and column, so R4C7 is row 4, column 7. A candidate is one digit in one cell, written here as "9 in R5C8".
- Strong link: at least one is true. A cell with exactly two candidates, or a digit with exactly two places in a row, column or box.
- Weak link: at most one is true. Two digits in the same cell, or one digit in two cells that share a row, column or box.
An open chain that starts and ends with a strong link is an alternating inference chain (on one digit only, an X-Chain). It tells you one of its two ends is true. A continuous loop closes that chain with one more weak link back to the start.
Why every weak link becomes strong
Pick any node in the loop and suppose it is true. The weak link after it makes the next node false, the strong link after that makes the next one true, and so on round the loop. Suppose instead that it is false. The strong link next to it makes its neighbour true, and the same alternation runs the other way. Either way, the nodes split into two halves, taking every other node, and one half is all true while the other is all false.
So for each weak link, one end is true and the other is false. "At most one" has become "exactly one". That gives two rules:
- Weak link inside a cell (digit a and digit b in the same cell): the cell is a or b, so remove its other candidates.
- Weak link on one digit (digit d in two cells that share a house): one of the two cells is d, so remove d from every other cell that sees both. If the two cells share a row and a box, that covers both houses.
No candidate in the loop itself is removed, and you do not need to know which half is true.
A worked example: ten links, six eliminations
This position is from a master-level puzzle in the Sudoku Royale library, after the basic techniques are used up. The loop runs through six cells in columns 4 and 8. Four of them take part with two digits each (R5C8, R7C8, R9C4 and R8C8) and two with one digit (R7C4 and R8C4), so it has ten nodes.
- True if R5C8 is 9
- True if R5C8 is 2
- Strong link
- Weak link
- Removed
The ten links, starting at R5C8:
- 2 to 9 in R5C8, strong. R5C8 has only 2 and 9.
- 9 in R5C8 to 9 in R7C8, weak. Both in column 8. Column 8 has a third 9, in R1C8.
- 9 to 6 in R7C8, strong. R7C8 has only 6 and 9.
- 6 in R7C8 to 6 in R7C4, weak. Both in row 7. Row 7 has a third 6, in R7C9.
- 6 in R7C4 to 6 in R9C4, strong. Column 4 has a 6 candidate only in these two cells.
- 6 to 8 in R9C4, weak. R9C4 has 3, 4, 6 and 8, so this is only a weak link.
- 8 in R9C4 to 8 in R8C4, strong. Column 4 has an 8 candidate only in these two cells.
- 8 in R8C4 to 8 in R8C8, weak. Both in row 8. Row 8 has no other 8, so this link is strong as well, which a loop can use as weak.
- 8 to 2 in R8C8, strong. R8C8 has only 2 and 8.
- 2 in R8C8 to 2 in R5C8, weak. Both in column 8, which closes the loop back at the 2 in R5C8.
Links 1, 3, 5, 7 and 9 are strong, links 2, 4, 6, 8 and 10 are weak. The loop starts on a strong link and the closing link 10 is weak, so the alternation holds at the join too. That is what makes it continuous.
The two cases
If R5C8 is 9: R7C8 is 6, R7C4 is not 6, R9C4 is 6, R8C4 is 8, and R8C8 is 2. Every node marked in the first colour is true.
If R5C8 is 2: R8C8 is 8, R8C4 is not 8 (so it is 4), R9C4 is 8, R7C4 is 6, and R7C8 is 9. Every node marked in the second colour is true.
R5C8 has no third option, so one of these happens.
What each weak link removes
- Link 2, 9 in column 8: R5C8 or R7C8 is 9, so R1C8 loses its 9.
- Link 4, 6 in row 7: R7C8 or R7C4 is 6, so R7C9 loses its 6.
- Link 6, inside R9C4: R9C4 is 6 or 8, so it loses 3 and 4.
- Link 8, 8 in row 8: nothing to remove, since row 8 has no other 8.
- Link 10, 2 in column 8: R8C8 or R5C8 is 2, so R1C8 and R9C8 lose their 2.
That is six candidates in one step: R1C8 goes from 2, 6, 7, 9 down to 6 and 7, and R9C4 from four candidates down to 6 and 8. None of the six comes from a skyscraper, 2-String Kite, empty rectangle, XY-Wing, XYZ-Wing, W-Wing, X-Chain, XY-Chain or 3D Medusa. The 2 in R9C8 also falls to a Death Blossom. Our Death Blossom and forcing chains pages use this same puzzle.
The same position also has two XY-Wings. One, on R5C4, R8C4 and R8C8, removes 2 from R5C8, which tells you the first case is the real one. The other, on R4C1, R4C5 and R9C1, removes 9 from R9C5. Those two removals plus the basic techniques finish the puzzle, so look for them first. The loop makes all six removals without needing to know which case is real.
How to look for a continuous loop
- Start from an alternating chain you already have. When a chain ends on a strong link, check whether its last node has a weak link back to its first node: same cell with a different digit, or the same digit in a shared house.
- Count the links. A continuous loop has an even number of links, half strong and half weak, and no two weak links in a row. If two weak links meet, it is not continuous; at best it is a discontinuous loop, which only says something about the cell where they meet.
- Check each strong link. A two-candidate cell, or exactly two places for the digit in the house. One extra candidate turns it weak and breaks the loop.
- Collect the eliminations at every weak link. Inside a cell, its other candidates. Between cells, that digit in every cell seeing both. Some weak links remove nothing, like link 8 above.
Continuous loops and the chains you know
- An X-Chain that closes on itself, all on one digit, is a continuous loop that only uses house links. It removes that digit along each weak link.
- An XY-Chain that closes runs through two-candidate cells only. Its weak links are all between cells.
- A loop like the one above mixes both and passes through a cell with four candidates, R9C4. That in-cell weak link is what removes the 3 and 4 there.
For the order to learn these in, see our list of sudoku techniques in learning order.
Train the links a loop is made of
The Dojo in Sudoku Royale has no loop or chain drill. Its Simple Colouring drill trains strong links on one digit, and its XY-Wing drill trains links through two-candidate cells, the two kinds this loop joins. Open the Simple Colouring drill or the XY-Wing drill on your iPhone.
Get Sudoku Royale: Free on iOSFrequently Asked Questions
What is a continuous nice loop in sudoku?
A closed chain of candidates where strong and weak links alternate all the way round, with an even number of links. Every other node is true, so each weak link has exactly one true end, and that gives an elimination at every weak link.
What does a continuous nice loop eliminate?
At a weak link inside a cell, every other candidate in that cell. At a weak link between two cells on one digit, that digit in every other cell that sees both. Candidates in the loop itself stay.
What is the difference between a continuous and a discontinuous nice loop?
In a continuous loop the alternation holds at every node, including where the loop closes. In a discontinuous loop it breaks at one node, and the only conclusion is about that node: it is either placed or loses a candidate.
How many links does a continuous nice loop have?
An even number: the same count of strong and weak links. The example on this page has ten, five of each. The shortest possible loop has four.
Is a nice loop the same as guessing?
No. You never place a digit to see what happens. The loop shows that one of two halves is true in every solution, and the eliminations hold in both cases.