login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A348129
Number T(n,k) of ways to place k nonattacking queens on an n X n board; triangle T(n,k), n>=0, 0<=k<=n, read by rows.
11
1, 1, 1, 1, 4, 0, 1, 9, 8, 0, 1, 16, 44, 24, 2, 1, 25, 140, 204, 82, 10, 1, 36, 340, 1024, 982, 248, 4, 1, 49, 700, 3628, 7002, 4618, 832, 40, 1, 64, 1288, 10320, 34568, 46736, 22708, 3192, 92, 1, 81, 2184, 25096, 131248, 310496, 312956, 119180, 13848, 352, 1, 100, 3480, 54400, 412596, 1535440, 2716096, 2119176, 636524, 56832, 724
OFFSET
0,5
EXAMPLE
T(3,2) = 8:
.-----. .-----. .-----. .-----. .-----. .-----. .-----. .-----.
|Q . .| |Q . .| |. . Q| |. . Q| |. . .| |. Q .| |. Q .| |. . .|
|. . Q| |. . .| |. . .| |Q . .| |Q . .| |. . .| |. . .| |. . Q|
|. . .| |. Q .| |. Q .| |. . .| |. . Q| |. . Q| |Q . .| |Q . .|
`-----´ `-----´ `-----´ `-----´ `-----´ `-----´ `-----´ `-----´.
Triangle T(n,k) begins:
1;
1, 1;
1, 4, 0;
1, 9, 8, 0;
1, 16, 44, 24, 2;
1, 25, 140, 204, 82, 10;
1, 36, 340, 1024, 982, 248, 4;
1, 49, 700, 3628, 7002, 4618, 832, 40;
1, 64, 1288, 10320, 34568, 46736, 22708, 3192, 92;
1, 81, 2184, 25096, 131248, 310496, 312956, 119180, 13848, 352;
...
CROSSREFS
Main diagonal gives A000170.
Row sums give A287227.
T(2n,n) gives A348130.
Sequence in context: A121408 A186761 A199786 * A189245 A342372 A289222
KEYWORD
nonn,tabl,hard
AUTHOR
Alois P. Heinz, Oct 01 2021
STATUS
approved