OFFSET
1,2
COMMENTS
Conjectured to be a permutation of the natural numbers.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
F. Michel Dekking, Jeffrey Shallit, and N. J. A. Sloane, Queens in exile: non-attacking queens on infinite chess boards, Electronic J. Combin., 27:1 (2020), #P1.52.
MATHEMATICA
A[n_, k_] := A[n, k] = If[n == 1 && k == 1, 1, s = {Table[A[i, k], {i, 1, n - 1}], Table[A[n, j], {j, 1, k - 1}], Table[A[n - t, k - t], {t, 1, Min[n, k] - 1}], Table[A[n + j, k - j], {j, 1, k - 1}]} // Flatten; For[m = 1, True, m++, If[FreeQ[s, m], Return[m]]]];
a[n_] := A[n, n];
Array[a, 65] (* Jean-François Alcover, Jun 10 2017, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 29 2016
EXTENSIONS
More terms from Alois P. Heinz, Jun 29 2016
STATUS
approved