Case: Lighthouse

The NN clue

In an NxN Skyscrapers puzzle, the skyscrapers of height 11 and NN are always the most notable. In fact, the NN skyscraper is arguably more fundamental than the 11, because it dictates the very shape of the Skyscrapers grid.

NN skyscrapers are almost always the easiest to deduce at the start of a puzzle, when information is scarce and the grid is open. This is due to the incredibly strict constraints placed on NN skyscrapers in comparison to other skyscrapers.

For instance, consider a 5x5 grid, where N=5N = 5.

5
1

A 11 clue means the 55 must go in front of it (silhouette). The 55 clue imposes a full staircase, so the 55 must go at the end (stairs).

512345
5
1

However, it’s not apparent from the extremes of the smallest and largest clue what exactly this restriction placed on the NN skyscraper is. Let’s now consider the 44 clue, which will shed some more light on it.

Consider where we can place the 55 in a lane where we have a 44 clue. We definitely can’t place it in the first cell, since that would block all the others.

45----

Nor can we place it in the second, since then we’d only see 2 skyscrapers.

4-5---

We can’t do the third either, because this only allows a maximum of 3 skyscrapers to be visible.

4--5--

It follows the 55 skyscraper can only go in the last 2 spots, i.e. the 4th and 5th cells.

4---77

If we apply the same to a 33 clue, we’ll notice it’s the 3rd, 4th and 5th cells.

3775

And for the 22 clue, all those from 2nd through to 5th.

27755

There’s a clear pattern here that generalises to larger puzzle sizes!

In a lane with clue XX, the tallest skyscraper NN must be at least NN cells away.

Let’s demonstrate with a 7x7 grid:

15
2777777
377777
47777
5777
677
77
#1#2#3#4#5#6#7

For instance, in the 44 clue lane, the closest 77 can be is in the 4th cell.

The only exception to the rule is where X=1X = 1, because the NN skyscraper is forced into the first cell.

This is a really powerful deduction, and it’s what drives so much of the puzzle starters where you’re pinpointing the tallest skyscrapers.