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!)
A354434 a(1) = 1; for n > 1, a(n) is the smallest unused square spiral number such that a(n) shares a factor with all existing numbers in its Moore neighborhood. 5
1, 2, 4, 6, 3, 9, 12, 18, 8, 10, 14, 16, 20, 22, 24, 15, 21, 27, 30, 33, 36, 39, 26, 28, 32, 34, 38, 40, 42, 44, 46, 48, 50, 54, 45, 35, 7, 63, 51, 57, 60, 66, 52, 72, 78, 84, 56, 58, 62, 64, 68, 70, 74, 76, 80, 82, 86, 88, 90, 75, 96, 100, 105, 49, 77, 91, 119, 102, 69, 81, 108, 92, 94, 98, 104 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The sequence is conjectured to be a permutation of the positive integers, although it takes many terms for most primes to appear, e.g. a(1807) = 13, a(35156) = 179. The primes do not occur in their natural order. In the first 200000 terms the smallest unused prime is 181, while the smallest unused composite number is 11881, which is itself a prime power.
LINKS
Scott R. Shannon, Image of the first 200000 terms. The green line is y = n.
EXAMPLE
The spiral begins
.
.
7--35--45--54--50--48--46 82
| | |
63 21--15--24--22--20 44 80
| | | | |
51 27 3---6---4 16 42 76
| | | | | | |
57 30 9 1---2 14 40 74
| | | | | |
60 33 12--18---8--10 38 70
| | | |
66 36--39--26--28--32--34 68
| |
52--72--78--84--56--58--62--64
.
.
a(11) = 14 as the existing numbers in the Moore neighborhood when a(11) is being placed are 4,2,8,10, and 14 is the smallest unused number that shares a factor with all these numbers.
CROSSREFS
Sequence in context: A365259 A356851 A291577 * A362842 A338059 A258105
KEYWORD
nonn,look
AUTHOR
Scott R. Shannon, May 28 2022
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 May 16 00:16 EDT 2024. Contains 372549 sequences. (Running on oeis4.)