A342151 Maximum number of safe (i.e., not attacked) squares when placing n queens on a standard 8 X 8 chessboard.
42, 31, 25, 24, 17, 15, 13, 11, 10, 9, 8, 7, 7, 6, 6, 5, 5, 4, 4, 4, 4, 4, 4, 4, 3, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1
Examples
a(8)=11 because the maximum number of safe squares when 8 queens are placed on a regular 8 X 8 chessboard is 11. In the diagram below, each Q represents a queen and each s is a safe square: . Q Q Q . . . . . . Q Q Q . . . . . . . . . s s s . . . . . . s s . . . . . . . s Q Q . . . . . . . . . . s s . . . . . . s s s . . This is in fact the "first" solution (when all possible ones are sorted), with the queens nearest the top-left corner.
Crossrefs
Cf. A001366, which answers the same question but on boards of different sizes and same number of queens.
Comments