Reading Windowed Sudoku Sums

A technique for Windowed Sudoku.

In windowed sudoku each number outside the grid is the total of the three cells nearest it in that row or column. Those three cells are always different digits, since they share a line. This page covers the two ways the app reads a sum: finishing one that has a single cell left, and narrowing one that has two or three.

One cell left: the remainder

When two of a sum's three cells are filled in, the third is whatever is left of the total.

A 9×9 windowed sudoku with sums on all four sides and candidates in the empty cells. In the seventh row, the last cell is highlighted with candidates 7 and 9; the 9 is ringed. The two cells to its left hold 1 and 2, and the sum to the right of the row is 12.

The seventh row has a 12 on its right. The three cells nearest that 12 are the row's last three, and two of them already hold 1 and 2. So the last cell is 12 − 1 − 2 = 9. Its candidates were 7 and 9, and the sum settles it.

The column agrees: the 24 below the last column needs 7, 8 and 9 in its bottom three cells, and the highlighted cell is one of them. A cell behind two sums is often settled by whichever of them fills up first.

The Next step hint calls this "Window remainder". It's graded as easy as a single.

Two or three cells left: combinations

With more than one cell open, the sum can't name a digit, but it does limit which digits can be there. Two ways to read it, from quick to thorough:

  • The range. Three different digits totalling 10 can't include an 8 or 9, because the other two would need to add up to 2 or less, and two different digits can't. In general, the biggest digit behind a three-cell total is the total minus 3 (for 1 + 2), and the smallest is the total minus 17 (for 8 + 9).
  • The full list. Write out every set of different digits that makes the total from what the cells can still hold, and keep only the candidates that appear in some set.

The same windowed sudoku at the start of the solve, almost empty. The first three cells of the first column are highlighted, under a sum of 10 at the top of the column, and 8 and 9 are struck from all three.

At the start of this puzzle, the first column has a 10 at the top. Its top three cells have to make 10 from three different digits. The largest any of them can be is 10 − 1 − 2 = 7, so 8 and 9 are struck from all three. That's the range alone; the full list for 10 is 1 + 2 + 7, 1 + 3 + 6, 1 + 4 + 5 and 2 + 3 + 5, and each of those leaves something open, so on this almost empty board the list can't add more yet.

The list starts to pay once the candidates shrink. If one of those three cells later loses its 1, say, the sets 1 + 2 + 7, 1 + 3 + 6 and 1 + 4 + 5 can only work with the 1 in one of the other two cells. When two of the cells are known, the list collapses into a remainder.

The Next step hint calls this "Window combinations". It's graded alongside a naked pair, and it's why windowed puzzles are never Easy: with almost no givens, the opening moves are all combinations.

Sums with one combination

A few totals have only one set of digits, and they're worth knowing by heart:

Sum Digits
6 1, 2, 3
7 1, 2, 4
23 6, 8, 9
24 7, 8, 9

8 and 22 have two sets each (1, 2, 5 or 1, 3, 4; and 5, 8, 9 or 6, 7, 9). Everything in between has more.

The middle three

There's one more sum on every row and column that isn't printed. A row adds up to 45, and its outside numbers cover the first three and last three cells, so the middle three cells add up to 45 minus the two outside numbers. The app's hint doesn't use this, but it's sound, and on a hard puzzle it's often the sum that breaks a stall. Once you have it, read it with the same two methods: range first, then the list.

For the rules and how difficulty works, see the windowed sudoku guide.