A334475 a(n) is the X-coordinate of the n-th point of the space filling curve T defined in A334474; sequence A334476 gives Y-coordinates.
0, 0, 1, 1, 0, 0, 1, 2, 2, 3, 3, 2, 3, 3, 2, 1, 0, 0, 1, 1, 0, 0, 1, 2, 2, 3, 4, 4, 5, 5, 4, 4, 5, 6, 6, 7, 7, 6, 7, 7, 6, 5, 4, 5, 4, 4, 5, 6, 7, 7, 6, 6, 7, 7, 6, 5, 5, 4, 3, 2, 3, 3, 2, 1, 0, 0, 1, 1, 0, 0, 1, 2, 2, 3, 3, 2, 3, 3, 2, 1, 0, 0, 1, 1, 0, 0, 1
Offset: 0
Keywords
Examples
The space filling curve T starts as follows: 5| ... | | | | 4| 16 | \ | \ 3| 5 15-14-13 | |\ | | | \ | 2| 4 6 11-12 | \ \ \ | \ \ \ 1| 1 3 7 10 | |\ | | | | | \| | | 0| 0 2 8--9 ---+------------- y/x| 0 1 2 3 - hence a(2) = a(3) = a(6) = a(15) = 1.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8255
- Hugo Pfoertner, Illustration of curve T, using Plot 2.
- Rémy Sigrist, PARI program for A334475
- Index entries for sequences related to coordinates of 2D curves
Programs
-
PARI
See Links section.