OFFSET
0,4
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 hexdragon curve can be represented using an L-system obtained from that of the terdragon curve by replacing each "move forward and turn +-120 degrees" step by two "move forward and turn +- 60 degrees" steps.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..4373
Joerg Arndt, Matters Computational (The Fxtbook), section 1.31.4 Terdragon and hexdragon.
Rémy Sigrist, Representation of the hexdragon curve after 6 iterations
Rémy Sigrist, PARI program for A349320
EXAMPLE
The hexdragon curve starts as follows:
16-17
/
15
\
14
/
12-13
/
11 8--7
\ / \
10--9 6
/
4--5
/
3
\
2
/
0--1
- so a(0) = a(1) = 0,
a(2) = 1,
a(3) = 2,
a(4) = a(5) = 3,
a(6) = a(9) = a(10) = 4,
a(7) = a(8) = a(11) = 5,
a(12) = a(13) = 6,
a(14) = 7,
a(15) = 8,
a(16) = a(17) = 9.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign
AUTHOR
Rémy Sigrist, Nov 14 2021
STATUS
approved