Ready to play?

Play Sudoku!

Rule of Parity in Killer Sudoku

ToughKiller onlyStep 18 of 373 min read

The rule of parity in Killer Sudoku ignores the digits in a cage and looks only at whether they are odd or even. That sounds like throwing information away, but it is often the one thing a stubborn cage will tell you, and it can wipe out half of a cell's candidates in a single line of arithmetic.

What the pattern is

Adding two even numbers gives an even number. Adding two odd numbers also gives an even number. Only an odd count of odd digits produces an odd total. So the parity of a sum is fixed by how many odd digits go into it, and nothing else.

Now take any group of cells with a known total: a cage, or a group produced by the 45 rule, since every row, column and box totals 45. Classify each cell as odd-only, even-only or mixed, according to its remaining candidates. If exactly one cell is mixed, its parity is forced — the others already decide the parity of everything else, and the total decides the rest. Every candidate of the wrong parity in that cell can go.

When to look for it

  • A cage or a pseudo-cage where most cells have already been reduced to {2, 4}, {1, 3, 5} or similar single-parity sets.
  • Larger groups than you would normally enumerate. Parity scales to eight or ten cells where a combination list would not.
  • Any total from the 45 rule. Because 45 is odd, a box whose complete inner cages total an even number leaves cells that must total an odd number.
  • Two-cell cages, where an odd sum means one odd and one even digit, and an even sum means both the same.

How to apply it, step by step

  1. Take a group of cells whose total you know, and note whether that total is odd or even.
  2. Look at each cell's candidates. Mark it odd, even or mixed.
  3. Stop unless exactly one cell is mixed. Two mixed cells give you no conclusion on their own.
  4. Count the odd-only cells. That count, plus the unknown cell's parity, must match the total's parity.
  5. Remove every candidate of the wrong parity from the mixed cell.

A worked example

Example
cage 22 in 4 cells

  r2c5  {2,4}                 all even
  r3c5  {6,8}                 all even
  r3c6  {1,3,5}               all odd
  r4c6  {1,2,3,4,6,7,9}       mixed  <- the cell to solve

  22 is even
  even + even + odd + ? = even   ->  ? must be odd

  r4c6 -> {1,3,7,9}     (2, 4 and 6 removed)

Three of the four cells have a settled parity: two contribute even digits and one contributes an odd digit. An even plus an even plus an odd is odd, so the fourth cell has to supply another odd digit to bring the total back to even. Three candidates disappear without a single combination being written out. A valid filling such as 2 + 6 + 5 + 9 confirms the arithmetic.

What the sum tells you

Sum of the groupNumber of odd digits in itTwo-cell case
EvenEven count: 0, 2, 4, …Both odd or both even
OddOdd count: 1, 3, 5, …One odd and one even

Common mistakes

  • Two mixed cells. With two unknown parities the equation has two solutions. You need exactly one mixed cell.
  • Miscounting the odd cells. Only cells whose every candidate is odd count as odd. A cell holding {3, 4} is mixed.
  • Forgetting placed digits. A solved cell inside the group is odd or even, and it counts.
  • Expecting a placement. Parity halves a candidate set. It almost never names a digit by itself, so pair it with cage combinations to finish the job.

Where you meet it

Parity belongs to the tough tier and turns up from hard Killer Sudoku upwards, usually late in a solve when several cells have been narrowed but none is settled. It is cheap to test, so it is worth a sweep whenever a puzzle stalls with lots of two-candidate and three-candidate cells and no obvious cage to enumerate.