Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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.
2
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, 15, 17, 18, 41, 42, 74, 75, 43, 44, 21, 22, 23, 48, 49, 83, 84, 50, 51, 26, 27, 11, 30, 59, 96, 143, 97, 144, 98, 145, 99, 146, 100, 147, 101, 148, 102, 64, 36, 16
OFFSET
1,2
EXAMPLE
The path begins:
.
16
.
17 15 34
.
18 4--14 33
| |
19---5 3--13 32
| | |
20---6 1---2 12--31
| |
21 7---8 9--10 11 30
| |
22 23 24--25 26 27 28 29
.
CROSSREFS
Same type of visit on other types of spirals: A334619, A337822.
Square spiral visit on the same spiral board: A217010.
Sequence in context: A249224 A217010 A091023 * A120863 A286459 A358433
KEYWORD
nonn
AUTHOR
Mohammed Yaseen, Sep 25 2020
STATUS
approved