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.

User: Nicholas Tran

Nicholas Tran's wiki page.

Nicholas Tran has authored 3 sequences.

A337746 Maximum number of bishops within an n X n chessboard, where each bishop has a path to an edge.

Original entry on oeis.org

1, 4, 8, 12, 19, 28, 37, 48, 57, 72, 87
Offset: 1

Author

Nicholas Tran, Sep 17 2020

Keywords

Comments

Given an n X n chessboard, this sequence is the maximum number of bishops that can be placed on the board, such that each bishop has a free path to the edge of the board without another bishop moving.
Bishops on even and odd squares don't interfere and can be maximized separately. When n is even, the two types are equal via symmetry and thus the maximum number of bishops will be 2 * (maximum number of one type of bishop).

Crossrefs

Cf. A337722 (knights), A335445 (rooks).

A337722 Maximum number of knights within an n X n chessboard, where each knight has a path off the board.

Original entry on oeis.org

1, 4, 9, 16, 24, 34, 44, 58, 73
Offset: 1

Author

Nicholas Tran, Sep 17 2020

Keywords

Comments

Given an n X n chessboard, this sequence is the maximum number of knights that can be placed on the board, such that each knight has a free path to jump "off" the board without another knight moving.
An example for a(3):
XXX
XXX
XXX
Here, all knights can jump off the board via knight movement. The middle knight is not blocked by any pieces.
An example for a(5):
XXXXX
XXXXX
XX-XX
XXXXX
XXXXX
Here, a knight can occupy all spaces except the central space, where a knight would not be able to jump off the board and would not be able to jump to another free square.

Crossrefs

Cf. A337746 (bishops), A335445 (rooks).

A335445 Maximum number of rooks within an n X n chessboard, where each rook has a path to an edge.

Original entry on oeis.org

1, 4, 8, 13, 21, 28, 37, 50
Offset: 1

Author

Nicholas Tran, Jul 14 2020

Keywords

Comments

The puzzle can be visualized on an n X n chessboard. The goal is to maximize the number of rooks within the chessboard that can leave the grid without requiring another rook to move. An example invalid chessboard for a(3):
XXX
XXX
XXX
Here, the top and bottom rows of rooks can leave the chessboard. The middle row is invalid as the middle rook would not be able to leave the chessboard without one of the surrounding rooks having to move. A valid example chessboard for a(3):
XXX
X.X
XXX
Here, all rooks have free access to the outside of the grid.
This game is isomorphic to the Ship City problem proposed by Ilmer.

Examples

			For n = 2, an example maximal solution is:
   XX
   XX
For n = 4, an example maximal solution is:
   XXXX
   XXX.
   ..XX
   XXXX