Number Path techniques

The line has to fill every cell, so the grid edges and the line itself keep forcing moves. These four checks find them.

1. Corners

Each corner with its two neighbors352164
Corners and their two neighbors, shaded.

A corner cell has two neighbors. Unless the line starts or ends in that corner, it enters from one neighbor and leaves by the other, so both links are fixed before you draw anything. On a 5×5 grid that is up to eight links of the 24 in the finished line.

2. Cells with two open neighbors

With the top row filled, the cell at row 2 column 3 has only two open neighbors352164
Row 2, column 3 has lost two neighbors to the line, so it must use the other two.

The corner rule generalizes. As the line grows, any empty cell with only two open neighbors (cells not already passed through, or the current end of the line) must connect to both. A cell with one open neighbor has to be the finish; if it is not the highest number, the line so far is wrong.

Above, the line has run along the top row. The cell in row 2, column 3 now touches only the cells to its left and below it, so the line passes through it from one to the other.

3. Numbers act as walls until their turn

While heading from 1 to 2, the numbers 3 to 6 act as walls352164
Heading from 1 to 2, the red numbers cannot be entered.

The line reaches the numbers in order, so while it travels from k to k + 1 every higher number is a wall. Combine this with the corner rule: if the only way past a corner runs through a higher number, that route is closed. In the example, stepping down from 1 leads straight into the corner 4, so the line cannot go that way.

4. The checkerboard rule

Checkerboard shading: 13 shaded cells and 12 white cells; 1 and 6 are both on shaded cells352164
13 shaded cells and 12 white cells. Both ends of the line sit on shaded cells.

Shade the grid like a checkerboard. Every step changes color, so the line alternates shaded, white, shaded, and so on.

Play today's Number Path puzzle