login
A334234
a(n) is the Y-coordinate of the point at n steps forward from the origin along the H-order curve defined in A334232; sequence A334233 gives X-coordinates.
3
0, 0, 1, 1, 0, 0, 1, 2, 3, 3, 2, 1, 0, 0, 1, 1, 0, 0, 1, 2, 3, 3, 2, 2, 3, 4, 5, 5, 4, 4, 5, 6, 7, 7, 6, 5, 4, 4, 5, 5, 4, 3, 2, 2, 3, 3, 2, 1, 0, 0, 1, 1, 0, 0, 1, 2, 3, 3, 2, 1, 0, 0, 1, 1, 0, 0, 1, 2, 3, 3, 2, 2, 3, 4, 5, 5, 4, 4, 5, 6, 7, 7, 6, 6, 7, 7, 6
OFFSET
0,8
FORMULA
A334232(a(n), A334233(n)) = n.
EXAMPLE
The "forward" branch of H-order curve starting from the origin is as follows:
7| 32
| |
6| 31
| |
5| 26...27 30
| | | |
4| 25 28...29
| |
3| 8....9 24 21...20
| | | | | |
2| 7 10 23...22 19
| | | |
1| 2....3 6 11 14...15 18
| | | | | | | |
0| 0....1 4....5 12...13 16...17
---+----------------------------------------
y/x| 0 1 2 3 4 5 6 7
- hence a(25) = a(28) = a(29) = 4.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A099530 A167544 A334484 * A291196 A279316 A074989
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 20 2020
STATUS
approved