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.

A308890 Follow along the squares in the square spiral (as in A274640); in each square write the smallest positive number that a knight placed at that square cannot see.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 2, 3, 3, 2, 2, 2, 2, 3, 3, 2, 3, 4, 4, 3, 1, 2, 4, 3, 2, 1, 4, 4, 4, 3, 1, 2, 4, 4, 2, 1, 1, 1, 4, 4, 1, 1, 1, 3, 2, 4, 4, 1, 1, 1, 3, 3, 4, 3, 1, 1, 1, 3, 2, 4, 4, 2, 3, 1, 2, 1, 2, 2, 2, 2, 1, 2, 2, 3, 3, 2, 4, 3, 2, 1, 2, 2, 2, 3, 2, 2, 2, 2, 1, 2, 2, 3, 3, 2, 1
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Comments

Similar to A274640, except that here we consider the mex of squares that are a knight's moves rather than queen's moves.
Since there are at most 4 earlier cells in the spiral at a knight's move from any square, a(n) <= 5.
This is obtained by adding 1 to the terms of A308884. "Mex" here means minimal positive excluded value.

Crossrefs