login
A334235
a(n) is the X-coordinate of the point at n steps backward from the origine along the H-order curve defined in A334232; sequence A334236 gives Y-coordinates.
3
0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 1, 1, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 7, 6, 6, 5
OFFSET
0,7
FORMULA
A334232(A334236(n), a(n)) = -n.
EXAMPLE
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(24) = a(25) = a(26) = a(27) = 4.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A340171 A049241 A321858 * A230415 A101080 A130836
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 20 2020
STATUS
approved