# Thermometer order

- Difficulty: Beginner · Easy
- On the web: https://blinku.app/learn/thermo-order

A thermometer rises cell by cell from bulb to tip. A cell must be above every cell before it, and leave room for every cell after it.

On a 9×9 board, a thermometer of 4 cells has a bulb of at most 6, a second cell from 2 to 7, a third from 3 to 8, and a tip of at least 4.

As candidates narrow, so do the ranges: if the second cell has only 6 and 7, the bulb stays under 7 and the cells after it start from 7 and 8. Push cell by cell toward both ends, and strike what can't reach.

## This example, step by step

Rows and columns are numbered as on the board's left and top: "r2c3" is row 2, column 3. Under the board are the clues drawn on it and written round it, one to a line.

```text
  1 2 3   4 5 6   7 8 9
1 3 2 . | 7 . . | . . .
2 . . . | . . 2 | 4 . .
3 . . . | 3 . . | . . .
  ------+-------+------
4 . . . | . . 1 | 7 . .
5 . . . | . . . | . . .
6 . . 6 | 8 . . | . . .
  ------+-------+------
7 . . . | . . 9 | . . .
8 . . 2 | 1 . . | . . .
9 . . . | . . 7 | . . 1

Thermometer r1c1→r2c1→r3c1, its bulb at r1c1
Thermometer r2c3→r2c2→r3c2→r4c3→r4c4, its bulb at r2c3
Thermometer r2c9→r1c9→r2c8, its bulb at r2c9
Thermometer r3c6→r4c5→r5c5→r6c4, its bulb at r3c6
Thermometer r5c2→r6c2→r6c3→r7c3, its bulb at r5c2
Thermometer r5c9→r4c9→r5c8→r4c7→r5c7, its bulb at r5c9
Thermometer r6c5→r6c6→r7c7→r8c6, its bulb at r6c5
Thermometer r8c1→r9c2→r8c2, its bulb at r8c1
Thermometer r9c9→r8c9→r7c8→r6c9, its bulb at r9c9
```

1. **Where to look**: A pointer first: follow the thermometer from row 2, column 9. It rises cell by cell, so which digits can't reach?
2. **Thermometer order**: The thermometer from row 2, column 9 to row 2, column 8 rises cell by cell. With the candidates before and after, 1, 3, 5, 8, and 9 can't fit, so they go.

## In hints

The hint shades the thermometer blue, then strikes the candidates that can't reach.
