Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #7 Jun 25 2022 22:04:07
%S 0,1,2,4,3,6,5,8,11,7,9,10,12,14,15,13,16,18,23,21,17,25,27,19,22,20,
%T 24,34,33,30,26,32,28,35,29,36,31,38,37,41,40,44,39,45,43,42,48,47,51,
%U 46,49,53,55,59,60,57,50,66,75,64,54,58,62,71,52,73,79,82,84,80,56,88,61,93,68,65,67,91
%N 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 prime.
%C This is the earliest permutation of the nonnegative integers with this property.
%e The spiral begins:
%e .
%e 17--25--27--19--22--20
%e | |
%e 21 5---8--11---7 24
%e | | | .
%e 23 6 0---1 9 .
%e | | | | .
%e 18 3---4---2 10
%e | |
%e 16--13--15--14--12
%e .
%e The digits of the four integers inside each of the four 2 X 2 squares that contain the initial 0 add up to a prime: 0 + 1 + 2 + 4 = 7, 0 + 4 + 3 + 6 = 13, 0 + 6 + 5 + 8 = 19, 0 + 8 + (1+1) + 1 = 11. This is true for any 2 X 2 square on the (infinite) grid; the upper right corner adds up to 19, for instance: (2+2) + (2+0) + (2+4) + 7 = 19; etc.
%Y Cf. A337115, A337116, A337117, A337368, A354372.
%K base,nonn
%O 1,3
%A _Eric Angelini_ and _Carole Dubois_, May 24 2022