The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A363665 Starting with a(1) = 1, the lexicographically earliest sequence of integers on a square spiral such that every number equals the sum of its eight adjacent neighbors. 1
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, -2, 0, 0, 1, -2, 0, 0, 0, -1, 0, 0, 0, -2, 2, 0, 0, -1, 2, -3, 0, 0, 3, -2, 2, -3, 0, 0, 3, -1, -1, 1, 0, 0, 1, 0, 0, -5, 8, 0, 0, -5, 4, 0, 4, -7, 0, 0, 6, -6, 4, -4, 8, -7, 0, 0, 2, -2, 4, -4, 0, 7, 0, 0, -8, 6, 3, -8, 10, -15, 16, 0, 0, -9, 6, -5, 7, -8, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
COMMENTS
As the terms are not distinct the first two numbers of any new row or column will always be zero. In the first 500000 terms the last zero that is not at the beginning of a row or column is a(190) = 0. Is it unknown if more such zeros exist. In the same range the smallest positive numbers not yet occurring are 5, 9, 11, 12, 15, 19, 20, ... . It is unknown if all integers eventually appear. The terms increase rapidly in size; in the first 500000 terms the largest positive term is a(499848) = 1267...5398, a number with 226 digits.
LINKS
Scott R. Shannon, Image showing the sign of the first 500000 terms on the spiral. White is positive, black is negative, yellow is zero.
EXAMPLE
The spiral begins:
. .
. |
0__-3___2__-2___3___0___0 -7
| | |
0 0__-2___1___0___0 -3 4
| | | | |
3 0 0___0___0 -2 2 0
| | | | | | |
-1 0 0 1___0 0 -1 4
| | | | | |
-1 -1 0___0___1___0 0 -5
| | | |
1 0___0___0__-2___2___0 0
| |
0___0___1___0___0__-5___8___0
.
.
a(9) = 1 as a(1) = 1 and a(2)..a(8) = 0, therefore a(9) = 1 so the sum of the eight numbers around a(1) equals 1.
a(12) = -2 as a(2) = 0 while a(1), a(9) = 1, a(2)..a(4), a(8), a(10), a(11) = 0, therefore a(12) = -2 so the sum of the eight numbers around a(1) equals 0.
CROSSREFS
Sequence in context: A253938 A131488 A333361 * A308183 A346632 A230595
KEYWORD
sign
AUTHOR
Scott R. Shannon, Jun 14 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 17:52 EDT 2024. Contains 373227 sequences. (Running on oeis4.)