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.

A307282 Sprague-Grundy values for Maharaja Nim on the counterclockwise square spiral.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 4, 6, 5, 7, 9, 8, 10, 1, 9, 2, 10, 3, 9, 11, 10, 2, 0, 3, 11, 10, 4, 1, 0, 6, 12, 7, 5, 3, 0, 8, 7, 1, 4, 5, 0, 2, 1, 12, 13, 6, 7, 1, 14, 8, 12, 3, 2, 9, 8, 10, 3, 2, 13, 4, 6, 7, 11, 13, 6, 12, 15, 14, 16, 8, 10, 7, 14, 4, 5, 3, 15
Offset: 0

Views

Author

N. J. A. Sloane, Apr 05 2019

Keywords

Comments

A Maharaja is a piece which can move both like a queen and a knight.
A274641 is the analogous sequence if the piece is a chess queen.

Examples

			The counterclockwise square spiral begins:
.
  16--15--14--13--12
   |               |
  17   4---3---2  11   .
   |   |       |   |
  18   5   0---1  10   .
   |   |           |
  19   6---7---8---9   .
   |
  20--21--22--23--24--25
.
		

Crossrefs

For the P-positions see A307283.

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Apr 06 2019