OFFSET
1,4
COMMENTS
The terms "adjacent" to a(n) are terms in any of the 8 cells of the matrix which surround the cell containing a(n). See Github link for code (Python 3) which produces the matrix and sequence, and a picture of the matrix containing the first 49 terms.
LINKS
Abraham C Leventhal, Code and the 7 X 7 spiral, Github.
EXAMPLE
The spiral begins:
.
65--63--59--54--26
| |
134 2---2---1 25
| | | |
... 4 0---1 23
| |
4---9--10--11
.
The last term shown is a(18) = 134 = 65 + 63 + 2 + 4, which is the sum of its adjacent earlier terms.
CROSSREFS
KEYWORD
nonn
AUTHOR
Abraham C Leventhal, Nov 15 2022
STATUS
approved