login
A335381
a(n) is the Y-coordinate of the n-th point of the Kochawave curve; sequence A335380 gives X-coordinates.
2
0, 0, 1, 0, 0, 1, 4, 2, 3, 2, 0, 1, 0, 0, 1, 0, 0, 1, 4, 2, 3, 6, 12, 9, 12, 10, 7, 8, 6, 7, 10, 8, 9, 8, 6, 7, 6, 4, 1, 2, 0, 1, 2, 2, 3, 2, 0, 1, 0, 0, 1, 0, 0, 1, 4, 2, 3, 2, 0, 1, 0, 0, 1, 0, 0, 1, 4, 2, 3, 6, 12, 9, 12, 10, 7, 8, 6, 7, 10, 8, 9, 12, 18
OFFSET
0,7
COMMENTS
Coordinates are given on a hexagonal lattice with X-axis and Y-axis as follows:
Y
/
/
0 ---- X
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
Cf. A335380.
Sequence in context: A016513 A063447 A304786 * A018845 A333215 A028947
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jun 04 2020
STATUS
approved