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.

Showing 1-2 of 2 results.

A103331 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 (symmetric solutions count only once).

Original entry on oeis.org

0, 0, 0, 0, 0, 2, 3, 16, 52, 286, 1403, 8214, 54756, 389833, 2923757, 22932960, 184339572
Offset: 1

Views

Author

R. Douglas Chatham (d.chatham(AT)moreheadstate.edu), Jan 31 2005

Keywords

Examples

			For n=6 the a(6)=2 solutions are
 . . Q . . .    . . Q . . .
 Q . P . . Q    Q . P . . Q
 . . . Q . .    . . Q . . .
 . Q . . . .    . . . . Q .
 . . . . Q .    . Q . . . .
 . . Q . . .    . . . Q . .
		

Crossrefs

Extensions

More terms from R. Douglas Chatham (d.chatham(AT)moreheadstate.edu), Feb 15 2005, Apr 20 2007

A368061 The number of ways to place one pawn and n+1 nonattacking queens on an n X n chessboard, unchanged by 180-degree rotation.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 1, 0, 5, 0, 18, 0, 50, 0, 652, 0, 4260, 0, 25134, 0, 238098, 0, 2492304, 0, 25389294
Offset: 1

Views

Author

Don Knuth, Dec 10 2023

Keywords

Comments

n must be odd, and the pawn must be in the center.

Examples

			For n=7 the a(7)=1 solution is
  . . Q . . . .
  . . . . . Q .
  . . . Q . . .
  Q . . P . . Q
  . . . Q . . .
  . Q . . . . .
  . . . . Q . .
		

Crossrefs

A103330 counts all solutions; A103331 counts them with symmetry removed.

Formula

A103330(n) = 8*A103331(n) - 4*a(n).
Showing 1-2 of 2 results.