A341164 a(n) is the Y-coordinate of the n-th point of the space filling curve A defined in Comments section; A341163 gives X-coordinates.
0, 1, 0, 2, 3, 4, 3, 1, 0, 2, 3, 4, 3, 5, 6, 5, 6, 7, 6, 8, 9, 10, 9, 7, 6, 4, 3, 2, 3, 1, 0, 1, 0, 2, 3, 4, 3, 5, 6, 5, 6, 7, 6, 8, 9, 10, 9, 7, 6, 8, 9, 10, 9, 11, 12, 11, 12, 11, 12, 10, 9, 8, 9, 11, 12, 13, 12, 14, 15, 16, 15, 13, 12, 14, 15, 16, 15, 17
Offset: 0
Examples
The curve A starts as follows: . . . . 5 . 4 . . 6 . . 3 . . . 1 . . 7 . 0 . . 2 . . 8 - so a(0) = a(2) = a(8) = 0, a(1) = a(7) = 1, a(3) = 2, a(4) = a(6) = 3, a(5) = 4.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8192
- Zbigniew Fiedorowicz, The Peano Curve Theorem
- Rémy Sigrist, PARI program for A341164
- Index entries for sequences related to coordinates of 2D curves
Crossrefs
Cf. A341163.
Programs
-
PARI
See Links section.
Comments