A341019 a(n) is the Y-coordinate of the n-th point of the space filling curve M defined in Comments section; A341018 gives X-coordinates.
0, 1, 0, 1, 2, 3, 4, 3, 4, 5, 6, 7, 6, 7, 6, 5, 4, 5, 6, 7, 6, 7, 6, 5, 4, 3, 4, 3, 2, 1, 0, 1, 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, 10, 11, 10, 11, 10, 9, 8, 9, 8, 9, 10, 11, 12, 11, 12, 13, 12
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(2) = a(30) = a(32) = 0, a(1) = a(3) = a(29) = a(31) = 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, PARI program for A341019
- Index entries for sequences related to coordinates of 2D curves
Programs
-
PARI
See Links section.
Comments