A341018 a(n) is the X-coordinate of the n-th point of the space filling curve M defined in Comments section; A341019 gives Y-coordinates.
0, 1, 2, 3, 2, 3, 2, 1, 0, 1, 0, 1, 2, 3, 4, 3, 4, 5, 4, 5, 6, 7, 8, 7, 8, 7, 6, 5, 6, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 11, 12, 13, 14, 15, 14, 15, 14, 13, 12, 13, 14, 15, 14, 15, 14, 13, 12, 11, 12, 11, 10, 9, 8, 9, 8, 9, 8, 9, 10, 11, 12, 11, 12, 13, 14, 15
Offset: 0
Keywords
Examples
The curve M starts as follows: 11+ 13+ +19 +21 / \ / \ / \ / \ 10+ 12+ 14+18 +20 +22 \ / \ / 9+ 15+ +17 +23 / \ / \ 8+ 6+ + +26 +24 \ / \ 16 / \ / 7+ 5+ +27 +25 / \ 4+ +28 \ / 1+ 3+ +29 +31 / \ / \ / \ 0+ 2+ +30 +32 - so a(0) = a(8) = a(10) = 0, a(1) = a(7) = a(9) = a(11) = 1.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8192
- F. M. Dekking, Recurrent Sets, Advances in Mathematics, vol. 44, no. 1, 1982.
- Larry Riddle, Space Filling Curve
- Rémy Sigrist, Illustration of M_6
- Rémy Sigrist, Illustration of the connection between the space filling curve M and Hilbert Hamiltonian walk
- Rémy Sigrist, PARI program for A341018
- Index entries for sequences related to coordinates of 2D curves
Programs
-
PARI
See Links section.
Comments