cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A261595 Triangular array T(n, k) read by rows (n >= 1, 1 <= k <= n): row n gives the lexicographically earliest doubly centro-symmetric characteristic solution to the n queens problem, or n zeros if no doubly centro-symmetric characteristic solution exists. The k-th queen is placed in square (k, T(n, k)).

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 2, 4, 1, 3, 2, 5, 3, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Martin Renner, Aug 25 2015

Keywords

Comments

See the comments under A260318.

Examples

			n = 1: 1 is the trivial solution.
2 <= n < 4: no doubly centro-symmetric solutions exist.
n = 4: 2413 is the first and only solution.
       .*..
       ...*
       *...
       ..*.
n = 5: 25314 is the first and only solution.
6 <= n < 12: no doubly centro-symmetric solutions exist.
Triangle starts:
1;
0, 0;
0, 0, 0;
2, 4, 1, 3;
2, 5, 3, 1, 4;
0, 0, 0, 0, 0, 0;
...
		

References

  • Maurice Kraitchik: Mathematical Recreations. Mineola, NY: Dover, 2nd ed. 1953, pp. 247-255 (The Problem of the Queens).

Crossrefs