Hilbert curve in NxN N x N grid, one-based, starting rightwards from the top-left corner.
Hilbert curve in NxN N x N grid, one-based, starting rightwards from the top-left corner.
_Antti Karttunen (His-Firstname.His-Surname(AT)gmail.com), _, Jul 29 2009
<a href="/Sindx_index/Per.html#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
A. Karttunen, <a href="/A163361/b163361.txt">Table of n, a(n) for n = 1..32896</a>
<a href="/Sindx_Per.html#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
nonn,tabl,new
Hilbert curve in NxN grid, one-based, starting rightwards from the top-left corner.
1, 2, 4, 15, 3, 5, 16, 14, 8, 6, 17, 13, 9, 7, 59, 20, 18, 12, 10, 58, 60, 21, 19, 31, 11, 55, 57, 61, 22, 24, 30, 32, 54, 56, 62, 64, 235, 23, 25, 29, 33, 53, 51, 63, 65, 236, 234, 26, 28, 36, 34, 52, 50, 68, 66, 237, 233, 231, 27, 37, 35, 47, 49, 69, 67, 79, 240, 238, 232
1,2
A. Karttunen, <a href="b163361.txt">Table of n, a(n) for n = 1..32896</a>
<a href="Sindx_Per.html#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
a(n) = A163357(n-1)+1
nonn,tabl
Antti Karttunen (His-Firstname.His-Surname(AT)gmail.com), Jul 29 2009
approved