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!)
A349041 a(n) is the Y-coordinate of the n-th point of the terdragon curve; sequence A349040 gives X-coordinates. 5
0, 0, 1, 1, 2, 1, 2, 2, 3, 3, 4, 3, 4, 3, 3, 2, 3, 2, 3, 3, 4, 4, 5, 4, 5, 5, 6, 6, 7, 6, 7, 6, 6, 5, 6, 5, 6, 5, 5, 4, 4, 5, 5, 4, 4, 3, 4, 3, 4, 3, 3, 2, 3, 2, 3, 3, 4, 4, 5, 4, 5, 5, 6, 6, 7, 6, 7, 6, 6, 5, 6, 5, 6, 6, 7, 7, 8, 7, 8, 8, 9, 9, 10, 9, 10, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Coordinates are given on a hexagonal lattice with X-axis and Y-axis as follows (the Y-axis corresponds to the sixth primitive root of unity):
Y
/
/
0 ---- X
The terdragon curve can be represented using an L-system.
A265671, when interpreted as a sequence of directions, yields the same curve.
LINKS
Rémy Sigrist, Colored representation of the first 1 + 3^11 points of the terdragon curve (where the hue is function of the number of steps from the origin)
Wikipedia, Terdragon
EXAMPLE
The terdragon curve starts (on a hexagonal lattice) as follows:
+-----+
8\ 9
\
+-----+7
6\ /4\
\5/ \
+-----+
2\ 3
\
+-----+
0 1
- so a(0) = a(1) = 0,
a(2) = a(3) = a(5) = 1,
a(4) = a(6) = a(7) = 2,
a(8) = a(9) = 3.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A029202 A173894 A353533 * A285870 A224931 A029195
KEYWORD
sign
AUTHOR
Rémy Sigrist, Nov 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 14 01:40 EDT 2024. Contains 372528 sequences. (Running on oeis4.)