A189857
Number of ways to place n nonattacking composite pieces rook + rider[2,6] on an n X n chessboard.
Original entry on oeis.org
1, 2, 6, 24, 120, 720, 2952, 16064, 104800, 816160, 7327728, 74031176, 621684168, 5950876288, 64694543120, 777746708096
Offset: 1
A007631
Number of solutions to non-attacking reflecting queens problem.
Original entry on oeis.org
1, 1, 0, 0, 2, 4, 0, 2, 10, 32, 38, 140, 496, 1186, 3178, 16792, 82038, 289566, 1139874, 5914118, 33800010, 142337180, 721286448, 4384569864
Offset: 0
For n = 4, ((1,7), (2,5), (3,8), (4,6)) is an instance of such grouping. ((2,5), (1,7), (3,8), (4,6)) is considered to be the same grouping.
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
- Jordan Bell, Brett Stevens, A survey of known results and research areas for n-queens, Discrete Mathematics, Volume 309 (2009), pp 1-31.
- M. Gardner, Fractal Music, Hypercards and More, Freeman, NY, 1991, p. 240.
- G. B. Huff, On pairings of the first 2n natural numbers, Acta. Arith. 23 (1973) 117-126.
- D. A. Klarner, The Problem of Reflecting Queens, The American Mathematical Monthly, Vol. 74, No. 8 (Oct., 1967), pp. 953-955.
- M. Slater, Number theory Research Problem 1, Bull. Amer. Math. Soc. 69 (1963), 333.
-
a(n) = {nb = 0; for (j=0, n!-1, vp = numtoperm(n, j); vb = vector(n, k, vp[k]+n); vs = vector(n, k, vb[k]+k); vd = vector(n, k, vb[k]-k); if (#vs + #vd == #Set(concat(vs, vd)), nb++); ); nb; } \\ Michel Marcus, Apr 27 2016
A062164
Number of ways of placing n nonattacking (normal) queens on n X n board; solutions congruent on the torus count only once.
Original entry on oeis.org
1, 0, 0, 1, 1, 1, 3, 6, 20, 40, 191, 953, 4604, 24660, 158466, 1009395
Offset: 1
Updated link that is transferred from people.freenet.de/nQueens to www.nqueens.de
Matthias Engelhardt, Apr 21 2010
A062167
Number of permutations with at most 2 queens on any torus diagonal, solutions congruent on the torus count only once.
Original entry on oeis.org
1, 0, 0, 1, 2, 3, 5, 29, 93, 569, 3226, 28630, 221250, 2314650
Offset: 1
Updated link that is transferred from people.freenet.de/nQueens to www.nqueens.de
Matthias Engelhardt, Apr 21 2010
A103330
Number of ways to place n+1 queens and a pawn on an n X n board so that no two queens attack each other.
Original entry on oeis.org
0, 0, 0, 0, 0, 16, 20, 128, 396, 2288, 11152, 65712, 437848, 3118664, 23387448, 183463680, 1474699536, 12485203304, 110956890352, 1028589512656, 9801351322432, 97731300891440, 1014610719838792
Offset: 1
R. Douglas Chatham (d.chatham(AT)moreheadstate.edu), Jan 31 2005
a(4) = 0 because when 5 queens are placed on a 4 X 4 board, at least 2 queens will be adjacent and therefore mutually attacking.
- Hans Bodlaender, The Nine Queens Problem, posted 4 January 2004.
- R. D. Chatham, The N+k Queens Problem Page.
- R. D. Chatham, The N+k Queens Problem Page.
- R. D. Chatham, M. Doyle, G. H. Fricke, J. Reitmann, R. D. Skaggs and M. Wolff, Independence and Domination Separation in Chessboard Graphs, Journal of Combinatorial Mathematics and Combinatorial Computing 68 (2008).
- R. D. Chatham, G. H. Fricke and R. D. Skaggs, The Queens Separation Problem, Utilitas Mathematica 69 (2006), 129-141.
Further terms from R. Douglas Chatham (d.chatham(AT)moreheadstate.edu), Feb 15 2005, Apr 20 2007, Apr 28 2007
a(12) corrected by R. Douglas Chatham (d.chatham(AT)moreheadstate.edu), May 12 2009
A140450
The count of how many queens must be placed tentatively onto a board while seeking a first solution to the "N-Queens on an N x N chessboard" puzzle.
Original entry on oeis.org
1, 6, 18, 26, 15, 171, 42, 876, 333, 975, 517, 3066, 1365, 26495, 20280, 160712, 91222, 743229, 48184, 3992510, 179592, 38217905, 584591, 9878316, 1216775, 10339849, 12263400, 84175966, 44434525, 1692888135, 408773285, 2799725104, 4618568460
Offset: 1
Colin S. Pearson and Martin S. Pearson, Jun 26 2008, Jun 30 2008, Jul 03 2008, Jul 31 2008, Aug 16 2008
Using a simple, mechanical and naive "one queen at a time" algorithm (in other words, a computer-friendly algorithm), in order to place 4 non-clashing queens on a simple board of 4 x 4 squares, we will need to place a tentative new queen 26 times before we discover the first combination that allows all queens to sit unchallenged. For a board size of 5 x 5 we will need to place tentative new queens just 15 times before we discover the first combination of 5 unchallenged queens. In this extended and corrected sequence, those figures "26" and "15" are the values of terms a(4) and a(5) above.
- CSP Queens - Counting Queen-placements http://queens.cspea.co.uk/
Cf.
A000170 = Number of ways of placing n nonattacking queens on n X n board;
A002562 = Number of ways of placing n nonattacking queens on n X n board (symmetric solutions count only once);
A141843 = Triangular array of lexicographically earliest solutions to the n queens problem.
Edited by Colin S Pearson to update the URL for Martin S Pearson's website
Colin S. Pearson, Mar 25 2009
A146303
Number of distinct ways to place queens (even fewer than n) on an n X n chessboard so that no queen is attacking another and that it is not possible to add another queen.
Original entry on oeis.org
1, 4, 9, 18, 58, 348, 1862, 10188, 57600, 376692, 2640422, 19469324, 151978440, 1258451524, 10963084588, 100087600184
Offset: 1
The a(2) = 4 solutions are to place a single queen in each of the squares of the chessboard. For n=3, there is a single one-queen solution (placing the queen in b2) and eight two-queen solutions, but no three-queen solution (see A000170).
A189841
Number of ways to place n nonattacking composite pieces rook + rider[5,5] on an n X n chessboard.
Original entry on oeis.org
1, 2, 6, 24, 120, 672, 4128, 28992, 231936, 2088960, 20017152, 207208704, 2326900992, 28338241536, 373152276480, 5206300028928
Offset: 1
A189859
Number of ways to place n nonattacking composite pieces rook + rider[3,5] on an n X n chessboard.
Original entry on oeis.org
1, 2, 6, 24, 120, 464, 2274, 13236, 91760, 740562, 5305548, 43237840, 395858894, 4087066620, 46633569480, 509698057110
Offset: 1
A189860
Number of ways to place n nonattacking composite pieces rook + rider[3,6] on an n X n chessboard.
Original entry on oeis.org
1, 2, 6, 24, 120, 720, 3312, 18688, 127104, 990208, 8878016, 89267712, 789509184, 7803741824, 85447337472, 1008717911040
Offset: 1
Comments