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.

A334619 Squares visited on a board numbered in counterclockwise square spiral by successively turning to the left square if it is unvisited or to the right square otherwise.

Original entry on oeis.org

1, 2, 3, 4, 15, 16, 5, 18, 19, 6, 7, 8, 23, 24, 9, 10, 11, 28, 29, 12, 13, 14, 33, 34, 61, 62, 35, 36, 17, 38, 39, 68, 69, 40, 41, 20, 21, 22, 45, 46, 77, 78, 47, 48, 25, 26, 27, 52, 53, 86, 87, 54, 55, 30, 31, 32, 59, 60, 95, 96, 139, 140, 97, 98, 63, 64, 37
Offset: 1

Views

Author

Mohammed Yaseen, Sep 09 2020

Keywords

Comments

The path begins:
.
...31
|
17 16--15 14--13 30
| | |
18---5 4---3 12--29
| | |
19---6 1---2 11--28
| |
20 7---8 9--10 27
| |
21 22 23--24 25 26
.
This infinite sequence visits every number on the board sooner or later.

Crossrefs

Cf. A316667.