[go: up one dir, main page]

login
A334233
a(n) is the X-coordinate of the point at n steps forward from the origine along the H-order curve defined in A334232; sequence A334234 gives Y-coordinates.
3
0, 1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 7, 6, 6, 5, 5, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 10, 10, 10, 10, 9, 9, 8, 8, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 13, 13, 14, 14, 15, 15, 15, 15, 14, 14, 13, 13, 13, 13, 14, 14
OFFSET
0,4
FORMULA
A334232(A334234(n), a(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(9) = a(10) = a(11) = a(12) = 4.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A331852 A103128 A156080 * A271058 A107320 A095186
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 20 2020
STATUS
approved