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.

A317471 Squares visited by a (2,3)-leaper on a spirally numbered board and moving to the lowest available unvisited square at each step, squares labelled >=1.

Original entry on oeis.org

1, 26, 3, 20, 15, 10, 5, 24, 19, 14, 7, 12, 23, 18, 9, 16, 11, 22, 39, 8, 13, 6, 25, 4, 21, 2, 17, 60, 29, 34, 93, 88, 27, 46, 41, 76, 71, 114, 47, 28, 33, 54, 59, 134, 31, 86, 49, 116, 43, 106, 37, 96, 187, 90, 137, 56, 95, 30, 61, 38, 97, 32, 53, 48, 85, 80, 125, 120, 173
Offset: 1

Views

Author

Daniël Karssen, Jul 29 2018

Keywords

Comments

Board is numbered with the square spiral:
.
17--16--15--14--13
| |
18 5---4---3 12 .
| | | |
19 6 1---2 11 .
| | |
20 7---8---9--10 .
|
21--22--23--24--25--26
.
The sequence is finite: at step 4634, square 4698 is visited, after which there are no unvisited squares within one move.

Crossrefs

Formula

a(n) = A317470(n-1) + 1.