OFFSET
0,7
COMMENTS
Coordinates are given on a hexagonal lattice with X-axis and Y-axis as follows:
Y
/
/
0 ---- X
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..4096
Rémy Sigrist, The Kochawave curve, a variant of the Koch curve, arXiv:2210.17320 [math.HO], 2022.
Rémy Sigrist, PARI program for A335381
FORMULA
a(4^k) = 0 for any k >= 0.
EXAMPLE
The Kochawave curve starts (on a hexagonal lattice) as follows:
. . . . . . + . . .
/|6
/ |
/ |
. . . . . . | . .+ . .
/ | .../ 8
/ | ... /
/ | ... /
. . . . . . +. + . .
/ 7 |9
/ |
/ |
. . .+ . .+ . +11 | . .+ .
.../ 2 ... 5 / \ | .../ 14
... / ... / \ | ... /
... / ... / \| ... /
+-------+. +-------+. . . +-------+. +-------+
0 1 3 4 12 13 10 15 16
- hence a(2) = a(5) = a(11) = a(14) = 1.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jun 04 2020
STATUS
approved