[go: up one dir, main page]

login
A334236
a(n) is the Y-coordinate of the point at n steps backward from the origine along the H-order curve defined in A334232; sequence A334235 gives X-coordinates.
3
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,3
FORMULA
A334232(a(n), A334235(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(28) = a(29) = 5.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A348241 A110764 A107901 * A030423 A130631 A282014
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 20 2020
STATUS
approved