This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A338367 #15 Oct 26 2020 02:02:56 %S A338367 0,0,0,1,0,2,1,3,4,1,3,2,3,4,5,6,2,7,4,6,5,7,8,9,5,6,7,9,8,10,7,11,9, %T A338367 12,8,13,10,11,14,15,12,13,10,14,11,15,16,17,12,4,13,14,18,15,6,17,1, %U A338367 16,19,18,20,21,22,16,17,19,20,23,18,21,24,25,19,20 %N A338367 Square spiral of nonnegative integers built by greedy algorithm such that for any (i, j) <> (0, 0) there is at most one position, say (n, k), such that the values at (n, k) and at (n+i, k+j) are the same. %C A338367 This sequence is a variant of A337804. %H A338367 Rémy Sigrist, <a href="/A338367/b338367.txt">Table of n, a(n) for n = 0..9800</a> %H A338367 Rémy Sigrist, <a href="/A338367/a338367.gp.txt">PARI program for A338367</a> %H A338367 Rémy Sigrist, <a href="/A338367/a338367_2.png">Colored scatterplot of (x, y) such that T(n, k) = T(n+y, k+x) with -250 <= n, n+y, k, k+x <= 250</a> (where the hue is function of T(n, o)) %H A338367 Rémy Sigrist, <a href="/A338367/a338367.png">Colored representation of the spiral for -250 <= x, y <= 250</a> (where the hue is function of T(y, x)) %H A338367 Rémy Sigrist, <a href="/A338367/a338367_1.png">Scatterplot of the points (x, y) introducing a new value for -250 <= x, y <= 250</a> %e A338367 The spiral begins: %e A338367 10--13---8--12---9--11---7 %e A338367 | | %e A338367 11 2---6---5---4---3 10 %e A338367 | | | | %e A338367 14 7 0---1---0 2 8 %e A338367 | | | | | | %e A338367 15 4 2 0---0 3 9 %e A338367 | | | | | %e A338367 12 6 1---3---4---1 7 %e A338367 | | | %e A338367 13 5---7---8---9---5---6 %e A338367 | %e A338367 10--14--11--15--16--17--12 %o A338367 (PARI) See Links section. %Y A338367 Cf. A337226, A337804. %K A338367 nonn %O A338367 0,6 %A A338367 _Rémy Sigrist_, Oct 23 2020