DemoCoder said:But the patterns shown above are not a solutions to N-queens, since two diagonals have attacking queens.
BTW, do you have any references to a proof that the N-queens solutions are optimal sampling patterns for N-by-N sparse grids?.
Actually, come to think of it, most of the references to AA that I've seen talk about the N-Rook problem instead.