# Cage pointing

- Difficulty: Hard
- On the web: https://blinku.app/learn/cage-cover

When every way to make a cage's sum uses a digit, and the cage's cells that can hold it lie in one region, no other cell of that region can be that digit.

First list the ways to make the cage's sum that still fit its cells' candidates. When every one uses some digit, that digit must be in the cage.

Then look at which of the cage's cells can hold it. When they all lie in one row, column or box, the digit is in that stretch, and the region's cells outside the cage lose it. It is the same idea as locked candidates.

## This example, step by step

A killer sudoku: each cell is written as its cage's name, then its digit ("." where it is empty). Under the board are the cages' sums: "a=19" means cage a adds up to 19. Each step names the cages it is about the same way.

```text
   1  2  3    4  5  6    7  8  9
1 a. a. b. | b. b. b. | c. d1 d5
2 a. a. b. | e. e. f2 | c. d7 g.
3 h. h. b. | e. i. i. | i. i. g.
  ---------+----------+---------
4 h. h. j8 | k9 j. j. | i. i. l.
5 m. m. j9 | j. j. n. | o. o. l.
6 p. m. m. | n. n. n. | o. l5 l.
  ---------+----------+---------
7 p. q. r. | r. r. r. | o. s. l.
8 p. q. q. | t1 u. u. | s. s. s.
9 q. q. v. | v. v. u. | s. s. w1

a=19 b=31 c=13 d=13 e=17 f=2  g=11 h=23 i=23
j=35 k=9  l=26 m=14 n=18 o=20 p=17 q=25 r=21
s=33 t=1  u=20 v=13 w=1
```

1. **Where to look** (c=13): A pointer first: look at the 13 cage. Whichever way it makes its sum, which digit must be in it?
2. **Cage pointing** (c=13): Against the candidates in the 13 cage, every way to make its sum uses 9, and the cells there that can hold 9 all lie in column 7. So no other cell in column 7 can be 9.

## In hints

The hint marks the cage and the region. Blue marks the cage's cells that can hold the digit, and strikes take it from the region's other cells.
