Skip to content

Cage Compare in Killer Sudoku

ToughKiller onlyStep 19 of 384 min read

Cage compare in Killer Sudoku puts two cages side by side and uses the difference between their sums to tie their outside cells together. Neither cage says much alone; the relation between them says a great deal.

What the pattern is

When two cages straddle the same unit, the 45 rule ties them into one equation. Every row, column and box totals 45, so once you have added the cages that lie wholly inside a box, the rest of the box belongs to the two straddlers. Substitute each cage's printed sum into that equation and the inside cells cancel out. What remains is a simple relation between the cells sticking out, such as "these two cells add to 10" or "this cell is one more than that one".

That relation is a two-cell constraint on cells that often share no row, column or box, which is not something the grid could have told you any other way. Combine it with each cell's candidates and both lists shrink.

When to look for it

  • A box, row or column with exactly two cages crossing its boundary and whole cages covering the rest.
  • Two cages that share cells, or whose combined cells almost fill a unit.
  • Two cages sitting in the same unit where one is already locked to two or three combinations, so you can test whether each one leaves the other anything at all.
  • A stalled grid where innies, outies and cage splitting have all failed because there are two straddlers rather than one.

How to apply it, step by step

  1. Add the cages lying entirely inside the unit, plus any placed digits they do not cover.
  2. Subtract from 45. The remainder is the total of the leftover cells, all of which belong to the two straddling cages.
  3. Replace each straddler's inside cells with "cage sum minus its outside cells".
  4. Simplify. The inside terms cancel and you are left with an equation in the outside cells only.
  5. Test every pair of candidates against that equation and delete the ones that never fit. Remember that a digit repeated inside one cage is illegal, even when the two cells do not see each other.

A worked example

The unit here is row J. Cage 26 (J1 to J4) lies wholly inside it, and the other cages leak out of the row one cell at a time. Watch how the cells outside the row end up linked.

  1. Easier techniques are used up. Look at row J and the cages that cross it.

  2. Cage 26 (J1 to J4) lies wholly in row J.

    So the rest of the row, J5 to J9, adds up to 45 - 26 = 19.

  3. Cage 20 covers J6 to J9 and leaves the row at H9.

    Cage 14 (G5, H5, J5) enters the row only at J5.

  4. J6 + J7 + J8 + J9 = 19 - J5. Cage 20 then gives H9 = 20 - (19 - J5) = J5 + 1.

  5. Only three pairs fit: J5 = 3, 6 or 7 with H9 = 4, 7 or 8.

    J5 = 2 or 9 would need H9 = 3 or 10. H9 = 2, 5 or 6 would need J5 = 1, 4 or 5.

  6. 2, 5 and 6 removed from H9, and 2 and 9 removed from J5, because each has no partner one higher or lower in the other cell.

Easier techniques are used up. Look at row J and the cages that cross it.

The row totals 45, so J5 to J9 add up to 45 - 26 = 19. Cage 20 covers J6 to J9 plus H9, which sits outside the row. Cage 14 (G5, H5, J5) enters the row only at J5. Since J6 + J7 + J8 + J9 = 19 - J5, cage 20 gives H9 = 20 - (19 - J5) = J5 + 1.

H9 and J5 share no row, column or box, so only the arithmetic connects them. H9 can be 2, 4, 5, 6, 7 or 8 and J5 can be 2, 3, 6, 7 or 9. Only the pairs J5/H9 = 3/4, 6/7 and 7/8 fit, so 2, 5 and 6 leave H9 and 2 and 9 leave J5.

The same idea covers two outside cells that add to a fixed total, such as 10: test the pairs one by one.

Cage compare versus cage splitting

Cage splittingCage compare
Straddling cagesOneTwo
What you produceTwo known sumsOne equation linking outside cells
Cells affectedBoth halves of one cageOne cell in each cage
DifficultyArithmetic then enumerationSubstitution, then a pairwise test

Common mistakes

  • A third straddler. With three cages crossing the boundary the equation has too many unknowns to simplify usefully.
  • Dropping placed digits. Solved cells inside the unit that no complete cage covers must be added to the inner total.
  • Ignoring cage distinctness. When you test a pair, check that the implied inside values do not repeat a digit already used in the same cage.
  • Assuming the outside cells must differ. They usually do not see each other, so an equal pair is legal unless a shared unit or cage forbids it.

Where you meet it

Cage compare is the heaviest of the tough-tier Killer techniques, because it asks you to test one cage's options against another's. It becomes necessary around hard Killer Sudoku and stays useful well beyond, especially in grids where every box has two cages leaking over its edge. Reach for it after the simpler 45-rule methods have run dry.

Ready to play?

Play Sudoku!