A334236 a(n) is the Y-coordinate of the point at n steps backward from the origin along the H-order curve defined in A334232; sequence A334235 gives X-coordinates.
0, 1, 2, 3, 3, 2, 2, 3, 4, 5, 5, 4, 4, 5, 6, 7, 7, 6, 6, 7, 7, 6, 5, 4, 4, 5, 6, 7, 7, 6, 6, 7, 8, 9, 9, 8, 8, 9, 10, 11, 11, 10, 9, 8, 8, 9, 9, 8, 8, 9, 10, 11, 11, 10, 10, 11, 12, 13, 13, 12, 12, 13, 14, 15, 15, 14, 14, 15, 15, 14, 13, 12, 12, 13, 14, 15, 15
Offset: 0
Keywords
Examples
The "backward" branch of H-order curve starting from the origin is as follows: 7| -15..-16 -19..-20 -27..-28 -31 | | | | | | | | 6| -14 -17..-18 -21 -26 -29..-30 | | | | 5| -13 -10...-9 -22 -25 | | | | | | 4| -12..-11 -8 -23..-24 | | 3| -3...-4 -7 | | | | 2| -2 -5...-6 | | 1| -1 | | 0| 0 ---+---------------------------------------- y/x| 0 1 2 3 4 5 6 7 - hence a(28) = a(29) = 5.
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8192
- Rémy Sigrist, PARI program for A334236
- Index entries for sequences related to coordinates of 2D curves
Programs
-
PARI
See Links section.