login
A334222
a(n) is the X-coordinate of the point at n steps backward from the origine along the space filling curve U defined in A334188; sequence A334223 gives Y-coordinates.
3
0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 1, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 5, 4, 4, 4, 3, 3, 3, 2, 1, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 1, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7
OFFSET
0,8
FORMULA
A334188(A334223(n), a(n)) = -n.
EXAMPLE
The "backward" branch of curve U starting from the origin is as follows:
| |
7| -15..-16 -21..-22 -31..-32 -37
| | | | | | | |
6| -14 -17 -20 -23 -30 -33 -36
| | | | | | | |
5| -13 -18..-19 -24 -29 -34..-35
| | | |
4| -12..-11..-10 -25 -28
| | | |
3| -3...-4 -9 -26..-27
| | | |
2| -2 -5 -8
| | | |
1| -1 -6...-7
| |
0| 0
---+-----------------------------------
y/x| 0 1 2 3 4 5 6
- hence a(4) = a(5) = a(6) = a(11) = a(16) = a(17) = a(18) = 1.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A216953 A326786 A276206 * A124752 A293730 A374079
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 19 2020
STATUS
approved