The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A341164 a(n) is the Y-coordinate of the n-th point of the space filling curve A defined in Comments section; A341163 gives X-coordinates. 2
0, 1, 0, 2, 3, 4, 3, 1, 0, 2, 3, 4, 3, 5, 6, 5, 6, 7, 6, 8, 9, 10, 9, 7, 6, 4, 3, 2, 3, 1, 0, 1, 0, 2, 3, 4, 3, 5, 6, 5, 6, 7, 6, 8, 9, 10, 9, 7, 6, 8, 9, 10, 9, 11, 12, 11, 12, 11, 12, 10, 9, 8, 9, 11, 12, 13, 12, 14, 15, 16, 15, 13, 12, 14, 15, 16, 15, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Coordinates are given on a hexagonal lattice with X-axis and Y-axis as follows:
Y
/
/
0 ---- X
We define the family {A_n, n >= 0} as follows:
- A_0 corresponds to the points (0, 0), (1, 1) and (3, 0), in that order:
. __+__ .
__---- ----__
+ . . +
0
- for any n >= 0, A_{n+1} is obtained by arranging 4 copies of A_n as follows:
+
/B\
+ / \
/B\ /A C\
/ \ --> +-------+
/A C\ /B\C B/A\
+-------+ / \ / \
O /A C\A/B C\
+-------+-------+
O
- the space filling curve A is the limit of A_n as n tends to infinity.
LINKS
Zbigniew Fiedorowicz, The Peano Curve Theorem
EXAMPLE
The curve A starts as follows:
.
. .
. 5 .
4 . . 6
. . 3 . .
. 1 . . 7 .
0 . . 2 . . 8
- so a(0) = a(2) = a(8) = 0,
a(1) = a(7) = 1,
a(3) = 2,
a(4) = a(6) = 3,
a(5) = 4.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A341163.
Sequence in context: A363774 A358606 A360027 * A237981 A366878 A299730
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Feb 06 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 07:08 EDT 2024. Contains 372760 sequences. (Running on oeis4.)