OFFSET
0,4
COMMENTS
The H-order curve is built as follows:
- we start we a unit square H_0 oriented counterclockwise, the origin being at the left bottom corner:
+---<---+
| |
v ^
| |
O--->---+
- the configuration H_{k+1} is obtained by connecting four copies of the configuration H_k as follows:
| | | |
. + + . . + + .
H_k ^ v H_k ^ v
. + + . . + + .
| | | |
-+->-+---+ +---+->-+- -+->-+ +-<-+ +->-+-
--> v ^
-+-<-+---+ +---+-<-+- -+-<-+ +->-+ +-<-+-
| | | |
. + + . . + + .
H_k ^ v H_k ^ v
. + + . . + + .
| | | |
- the H-order curve corresponds to the limit of H_k as k tends to infinity,
- the H-order curve visits once every lattice points with nonnegative coordinates and has a single connected component.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..5049
GeoWave Developper Guide, Spatial Index
Rémy Sigrist, Representation of H_k for k = 0..5
Rémy Sigrist, PARI program for A334232
EXAMPLE
Square array starts:
n\k| 0 1 2 3 4 5 6 7
---+----------------------------------------
0| 0....1 4....5 12...13 16...17
| | | | | | | | |
1| -1 2....3 6 11 14...15 18
| | | | |
2| -2 -5...-6 7 10 23...22 19
| | | | | | | | |
3| -3...-4 -7 8....9 24 21...20
| | |
4| -12..-11 -8 -23..-24 25 28...29
| | | | | | | | |
5| -13 -10...-9 -22 -25 26...27 30
| | | | |
6| -14 -17..-18 -21 -26 -29..-30 31
| | | | | | | | |
7| -15..-16 -19..-20 -27..-28 -31 32
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Rémy Sigrist, Apr 19 2020
STATUS
approved