A309817 a(n) is the index of the n-th nonattacking queen placed by a greedy algorithm on a subset of N^N (see Comments for details).
1, 12, 45, 50, 80, 144, 162, 294, 448, 847, 1690, 1728, 1875, 1944, 2025, 2500, 2816, 3179, 3872, 4000, 4312, 4693, 6615, 7290, 7406, 8228, 9600, 11907, 12544, 13312, 15979, 18900, 20280, 22103, 23328, 24010, 28314, 32256, 33524, 37856, 37975, 39600, 45177
Offset: 1
Keywords
Examples
We first visit the origin and place our first queen on it. Hence a(1) = Product_{k>=0} prime(k+1)^0 = 1. This first queen attacks every point X such that f(X) is in A072774. The second queen is placed at position (2, 1, 0, 0, 0...); a(2) = 2^2 * 3 = 12.
Links
- Rémy Sigrist, PARI program for A309817
Programs
-
PARI
\\ See Links section.
Comments