Nonogram Puzzles

Gaps that are too small

Crossed cells and finished blocks split a line into separate stretches. A stretch shorter than every block that could go there is empty, and crossing it often unlocks the whole line.

Updated

The idea

Look at the uncrossed stretches of a line, between crosses, finished blocks and the edges. For each one, ask: which blocks could sit here? If none fits, cross the whole stretch.

33.
A 2-cell stretch can't hold a 3: cross it. The two 3s then fill the remaining seven cells exactly.

Which blocks could go there?

A stretch before the first known block can only hold blocks that come before it in the clue; a stretch between two placed blocks can only hold the numbers between them. In a line with clue 2 6 1, a 4-cell stretch between the 2 and the 6 can hold nothing at all (there's no number between them), so it's empty even though 4 is longer than 1.

That ordering argument is what makes gaps powerful in the middle of a solve: long clues get split into small sub-problems, each with only one or two numbers left.

The smallest-number check

A quick version for a busy board: find the smallest number that could still be unplaced in the line. Any stretch shorter than it is empty. In a line where every remaining block is at least 3, all stretches of 1 or 2 cells go.

Gaps in color nonograms

In color nonograms, apply the same check per color: a stretch can only hold blocks of colors that are still unplaced, and a stretch that touches a known cell of another color has even less room for a same-colored neighbour.

In a real puzzle

Gaps appear when crosses and finished blocks cut a line into pieces. Steps from a cactus on the site show short stretches being crossed because no remaining block fits:

24141411416164480411191010911410
11. Row 3 (1 4): the cells you already know limit where each block can go. That proves 1 more cells filled and 3 empty.
24141411416164480411191010911410
12. Column 2 (4 1): the cells you already know limit where each block can go. That proves 4 more cells filled and 1 empty.
24141411416164480411191010911410
13. Column 9 (4 1): the cells you already know limit where each block can go. That proves 5 more cells filled and 0 empty.
24141411416164480411191010911410
16. Row 6 (6 1): the cells you already know limit where each block can go. That proves 1 more cells filled and 1 empty.
24141411416164480411191010911410
17. Row 7 (6): the cells you already know limit where each block can go. That proves 1 more cells filled and 1 empty.
24141411416164480411191010911410
18. Row 10 (8): the cells you already know limit where each block can go. That proves 2 more cells filled and 0 empty.

How often you'll use it

Gap steps are a small but important share of the range deductions (about 60% of all steps). They cluster late in a puzzle, when lines are mostly crossed, and often unlock the last few squares of a board.

Common mistakes

  • Measuring against the wrong block. Compare the stretch with the smallest block that could still go there, not the smallest in the whole clue.
  • Forgetting finished blocks. A finished block's ends are walls too.
  • Leaving short gaps blank. An unmarked short gap invites wrong guesses later.

Try it

Next: proof by contradiction, for when the direct moves run out.

Questions and answers

What does a gap mean in a nonogram?
A stretch of undecided cells bounded by crosses, finished blocks or the edge. If no remaining block fits in it, all of its cells are empty.
What is a gap in a nonogram?
A stretch between crosses or edges. If it's shorter than every block that could go there, all its squares are empty.
Where can I practice this technique?
Every puzzle on the site uses it. Start with easy 10×10 puzzles, and use Hint: it names the technique behind each move.