OFFSET
0,5
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..2401
Rémy Sigrist, PARI program for A334486
Wikipedia, Gosper curve
EXAMPLE
The Gosper curve starts (on a hexagonal lattice) as follows:
. . . . . +---+---+ . . . .
\ \
. . +---+---+ +---+ + . . . .
\ \ / /
. . . +---+ +---+ + +---+ . .
/ \ \ \
. . +---+ +---+---+ + + + . .
/ \ \ \ / 49
. . + +---+ +---+ + + . . .
\ \ \ / /
. . + + +---+ + +---+ . . .
\ / \ / /10
. . . + +---+---+ + + . . .
25 \ \ /9
. . . . +---+ +---+ . . . .
/ 7 8
. . . . +---+ . . . . . .
0 1
- hence a(2) = a(3) = a(7) = a(8) = 1.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, May 03 2020
STATUS
approved