Case: Slide
Dense sequences
In a half-lane with clue , if the lane peak is in the -th cell, then all skyscrapers in the half-lane must be visible (forming a dense sequence).
| c | 1 | 2 | … | c-1 | N |
| c | p | q | … | t | N |
Where .
Examples
Case 1
| 3 | 5 | |||||
This is a 5x5 puzzle, so the lane peak is the -skyscraper. It’s in the 3rd cell, which is the same number as the clue, so the case applies.
| 3 | low | high | 5 | |||
The lowest-case sequence we could have is , and the highest-case is . Hence the candidates for the head cell are and for the second cell .
| 3 | 123 | 234 | 5 | |||
Remember there is hidden structure in these candidates, which you might convey on paper by drawing in the edge between them.
Case 2
| 5 | 4 | |||||
Here the lane peak is 4 cells away from the -clue, so the case applies.
The lowest sequence we could have is , and the highest . So for the head cell, we have ; then for the next, and so on.
| 5 | 34 | 23 | 12 | 4 | ||
Case 3
| 3 | |||||||
| 4 |
Now we have a 6x6 skyscraper so the lane peak is the -skyscraper. Notice we can pinpoint a lane peak by Meet in the Middle since .
| 3 | |||||||
| 6 | |||||||
| 4 |
This is 3 cells away from the clue, and 4 cells away from the 4 cells away from the clue, so the case applies on both sides.
| 3 | |||||||
| p < q | |||||||
| q < 6 | |||||||
| 6 | |||||||
| z < 6 | |||||||
| y < z | |||||||
| x < y | |||||||
| 4 |
On the -clue side the lowest sequence is and the highest , giving and for the candidates.
| 3 | |||||||
| 1234 | |||||||
| 2345 | |||||||
| 6 | |||||||
| z < 6 | |||||||
| y < z | |||||||
| x < y | |||||||
| 4 |
On the -clue side we have up to , giving , and .
| 3 | |||||||
| 1234 | |||||||
| 2345 | |||||||
| 6 | |||||||
| 345 | |||||||
| 234 | |||||||
| 123 | |||||||
| 4 |
Explanation
The Structure
When the lane peak is in the -th cell of a half-lane, then the greatest possible number of visible skyscrapers is . For instance, if it were in the tail cell of a 6x6 puzzle, i.e. the 5th cell…
| 6 |
…then we could have a maximum of 5 skyscrapers visible, by having a sequence of skyscrapers with none obscured:
| 1 | 2 | 3 | 4 | 6 |
Of course, this isn’t the only such sequence. We could very well have had , , etc. to achieve 5 visible skyscrapers.
If the clue were, say, , then we’d need to choose which cells contain visible skyscrapers, and there are many different ways of doing that.1
| 3 | 6 |
We could have the first 2 cells visible in addition to the lane peak…
| 3 | 6 |
…or maybe have the 2 cells next to lane peak visible. There are many choices!
But if the clue were , then the only way to have 5 skyscrapers visible is if every cell is visible.
| 5 | 6 |
The lane peak is guaranteed to be visible, so we need 4 more visible to make up the required 5. There are only 4 cells between the clue and lane peak – so they must all be visible!
When the lane peak is further away, we have a choice between the gaps. But when it’s in the -th cell (as close as it can be), it leaves no wiggle room, so we have only 1 choice.
The Numbers
The structure that ensures all cells are visible is a dense sequence – a chain of skyscrapers where each is taller than the last. For instance, is a sequence, since . All of these skyscrapers would be visible in the half-lane.
However, while we do have only 1 possible structure (all visible), there’s more than 1 sequence that could satisfy that structure. We can’t say for certain which one it is, so we can only pencilmark.
For instance, if we need 2 visible skyscrapers…
| 2 | 5 |
…then we could have , , , or . That’s a lot of options!
| 2 | 1234 | 5 |
Let’s compare this to a sequence of 4 visible skyscrapers:
| 4 | 5 |
Well, one sequence we could choose is . But there’s nothing guaranteeing that – we could also have . Or . Or .
Focusing on the head cell, in all of the possible sequences it’s either or . This makes sense because if it were , the longest sequence we could have is , which only has 3 skyscrapers, not 4 as the clue requires.
| 4 | 12 | 5 |
For the next cell, it’s and . It needs to definitely be taller than , and it can’t be , since then we would only be able to see a maximum of 3 skyscrapers.
| 4 | 12 | 23 | 5 |
Continuing with the same logic, for the last cell we have and .
| 4 | 12 | 23 | 34 | 5 |
In general, to find the candidates for each cell, we only need to consider the lower and upper bounding sequences. The lower bound is the sequence containing the shortest possible skyscrapers, and the upper bound contains the tallest possible skyscrapers. From there we know our candidates are all the skyscrapers between the lower and upper bound (inclusive).
| 4 | 6 | . |
For the lower bound, we start with the shortest possible skyscraper, , and then keep picking the shortest available skyscraper. That gives .
| 4 | 1 | 2 | 3 | 6 | . |
For the upper bound, we can work backwards. Preceding the , the tallest possible skyscraper is , and then we keep picking the tallest available skyscraper. That gives , so we have the sequence .
| 4 | 13 | 24 | 35 | 6 | . |
Finally, we just need to add in all the intermediate values. For example, in first cell the range is , which gives .
| 4 | 123 | 234 | 345 | 6 | . |
Solving
As we obtain information on the sequence, we can leverage its structure to actually solve some of these cells.
Forcing the Rest
The head cell acts as a ‘lower bound’ on the sequence, dictating where it starts from. If it starts from the tallest candidate, then every cell afterwards must also have their tallest candidates!
| 4 | 12 | 23 | 34 | 5 |
Suppose here we manage to find that the head cell is , which is the tallest of .
| 4 | 2 | 23 | 34 | 5 |
Then the only possible sequence collapses to , so we can solve the half-lane!
| 4 | 2 | 3 | 4 | 5 |
We could also achieve this via Sudoku-style eliminations!
This doesn’t just apply for the head cell, though. At any point, if a cell is solved to be its tallest candidate, then all following cells must also contain their tallest candidate.
| 5 | 12 | 23 | 34 | 45 | 6 |
| 5 | 12 | 3 | 34 | 45 | 6 |
is the tallest of , so…
| 5 | 12 | 3 | 4 | 5 | 6 |
…all following cells must contain their tallest candidate. This is also deducable via Sudoku-style deductions.
On the flip side, if a cell is solved to be its shortest candidate, then all preceding cells must also contain their shortest candidate!
| 5 | 12 | 23 | 34 | 45 | 6 |
| 5 | 12 | 23 | 3 | 45 | 6 |
is the shortest of , so…
| 5 | 1 | 2 | 3 | 45 | 6 |
…all preceding cells must contain their shortest candidate. Again, this is deducable through Sudoku-style deductions.
All make sense? It’s important to not lose sight of it in larger puzzles when cells start to have more candidates. For instance:
| 4 | 123 | 234 | 345 | 6 | . |
Let’s say we find that the middle unsolved cell is .
| 4 | 123 | 4 | 345 | 6 | . |
Purely relying on Sudoku-style eliminations, we’d leave the last unsolved cell as .
| 4 | 123 | 4 | 35 | 6 | . |
But we can actually solve it, because there’s the sequence structure! Since every cell must be visible, we know it can’t be a since that’d be obscured. It must be a .
| 4 | 123 | 4 | 5 | 6 |
This is why it’s important to remember these pencilmarks aren’t just plain pencilmarks, they also encode the sequence structure. When I look at them, I don’t actually think about the individual numbers, I just think “This is a sequence” – i.e. each skyscraper needs to be taller than the one before it.
Narrowing the Band

- Specifically, different choices of visible cells. (The lane peak is always visible so must be included in the choice, which is why it’s not .)↩