OFFSET
1,3
COMMENTS
This is (by definition) the lexicographically earliest permutation of the nonnegative integers with this property.
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..2757
EXAMPLE
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 + 10 + 1 = 16. This is true for any 2 X 2 square on the (infinite) grid: the upper right corner below adds up to 81 (= 20 + 18 + 35 + 8), for instance.
.
15--32--23--26--20--18
| |
13 4---5--10---8 35
| | | .
12 7 0---1 17 .
| | | | .
14 3---6---2 16
| |
11--21--19--22---9
.
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Aug 16 2020
STATUS
approved