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