login

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”).

A163363
Hilbert curve in N X N grid, one-based, starting downwards from the top-left corner.
5
1, 4, 2, 5, 3, 15, 6, 8, 14, 16, 59, 7, 9, 13, 17, 60, 58, 10, 12, 18, 20, 61, 57, 55, 11, 31, 19, 21, 64, 62, 56, 54, 32, 30, 24, 22, 65, 63, 51, 53, 33, 29, 25, 23, 235, 66, 68, 50, 52, 34, 36, 28, 26, 234, 236, 79, 67, 69, 49, 47, 35, 37, 27, 231, 233, 237, 80, 78, 72
OFFSET
1,2
FORMULA
a(n) = A163359(n-1) + 1.
CROSSREFS
Inverse: A163364. Transpose: A163361.
Sequence in context: A065189 A165275 A371192 * A065258 A049259 A010647
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Jul 29 2009
STATUS
approved