A163340 Peano curve in an N x N grid, one-based, starting downwards from the top-left corner.
1, 6, 2, 7, 5, 3, 48, 8, 4, 16, 49, 47, 9, 15, 17, 54, 50, 46, 10, 14, 18, 55, 53, 51, 45, 11, 13, 19, 60, 56, 52, 40, 44, 12, 24, 20, 61, 59, 57, 39, 41, 43, 25, 23, 21, 426, 62, 58, 70, 38, 42, 30, 26, 22, 142, 427, 425, 63, 69, 71, 37, 31, 29, 27, 141, 143, 432, 428
Offset: 1
Links
Formula
a(n) = A163336(n-1)+1
Extensions
Name corrected by Kevin Ryde, Aug 28 2020
Comments