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!)
A354372 Square spiral on a 2D square lattice, one term per cell, starting at the origin with 0; the digits of the four integers forming any 2 X 2 square add up to a square. 4
0, 1, 2, 6, 3, 7, 4, 5, 12, 8, 13, 9, 10, 22, 31, 21, 11, 17, 16, 25, 14, 18, 34, 19, 40, 15, 43, 24, 33, 27, 20, 49, 52, 28, 26, 30, 23, 42, 36, 39, 37, 59, 29, 51, 32, 69, 89, 41, 46, 35, 48, 38, 57, 66, 45, 50, 44, 55, 47, 99, 68, 98, 53, 54, 56, 65, 77, 61, 62, 60, 105, 104, 58, 70, 75, 67, 79 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
This is the earliest permutation of the nonnegative integers with this property.
LINKS
EXAMPLE
The spiral begins:
.
14--18--34--19--40--15
| |
25 4---5--12---8 43
| | | .
16 7 0---1 13 .
| | | | .
17 3---6---2 9
| |
11--21--31--22--10
.
The digits of the four integers inside each of the four 2 X 2 squares that contain the initial 0 add up to a square: 0 + 1 + 2 + 6 = 9, 0 + 6 + 3 + 7 = 16, 0 + 7 + 4 + 5 = 16, 0 + 5 + (1+2) + 1 = 9. This is true for any 2 X 2 square on the (infinite) grid; the upper right corner adds up to 25, for instance: (4+0) + (1+5) + 8 + (4+3) = 25; etc.
CROSSREFS
Sequence in context: A373058 A136695 A337115 * A354111 A154129 A176014
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, May 24 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 July 22 10:19 EDT 2024. Contains 374490 sequences. (Running on oeis4.)