cp's OEIS Frontend

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.

A337838 Permutation of the natural numbers formed by numbering an infinite square grid by a counterclockwise triangular spiral and visiting them by a counterclockwise stair step spiral.

This page as a plain text file.
%I A337838 #21 Feb 22 2021 20:14:12
%S A337838 1,2,13,3,14,4,5,19,20,6,7,8,24,25,9,10,12,31,60,32,61,33,62,34,63,35,
%T A337838 15,17,18,41,42,74,75,43,44,21,22,23,48,49,83,84,50,51,26,27,11,30,59,
%U A337838 96,143,97,144,98,145,99,146,100,147,101,148,102,64,36,16
%N A337838 Permutation of the natural numbers formed by numbering an infinite square grid by a counterclockwise triangular spiral and visiting them by a counterclockwise stair step spiral.
%H A337838 Kevin Ryde, <a href="/A337838/b337838.txt">Table of n, a(n) for n = 1..10000</a>
%H A337838 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%e A337838 The path begins:
%e A337838 .
%e A337838   16
%e A337838 .
%e A337838   17  15  34
%e A337838 .
%e A337838   18   4--14  33
%e A337838        |   |
%e A337838   19---5   3--13  32
%e A337838    |           |       |
%e A337838   20---6   1---2  12--31
%e A337838        |           |
%e A337838   21   7---8   9--10  11  30
%e A337838            |   |
%e A337838   22  23  24--25  26  27  28  29
%e A337838 .
%Y A337838 Same type of visit on other types of spirals: A334619, A337822.
%Y A337838 Square spiral visit on the same spiral board: A217010.
%K A337838 nonn
%O A337838 1,2
%A A337838 _Mohammed Yaseen_, Sep 25 2020