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 0 sum up to a prime: 0+1+2+4=7 / 0+4+3+6=13 / 0+6+5+8=19 / 0+8+10+1=19. This is true for any 2 X 2 square picked up on the (infinite) grid: the upper right corner below sums up to the prime 79 for instance (22+20+30+7).
.
19--23--25--28--22--20
| |
24 5---8--10---7 30
| | | .
18 6 0---1 11 .
| | | | .
16 3---4---2 9 .
| |
15--13--17--14--12
.
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Aug 16 2020
STATUS
approved