OFFSET
1,2
COMMENTS
The sequence is generated by the rewriting rules:
P(1) = 1,2,1,-2,1;
P(2) = 2,-1,2,1,2 and
P(-1) = -1,-2,-1,2,-1;
P(-2) = -2,1,-2,-1,-2, so P(-x)=-P(x).
The start is 1.
LINKS
Arie Bos, Index notation of grid graphs, arXiv:1210.7123 [cs.CG], 2012.
Wikipedia, Koch curve
EXAMPLE
Start with 1, you get
in the first step 1,2,1,-2,1, and
in the 2nd step 1,2,1,-2,1,2,-1,2,1,2,1,2,1,-2,1,-2,1,-2,-1,-2,1,2,1,-2,1.
With each step the length increases by a factor 5.
CROSSREFS
KEYWORD
sign
AUTHOR
Arie Bos, Sep 25 2013
STATUS
approved