login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A229217
If 1 and 2 represent the 2D vectors (1,0) and (0,1) and -1 and -2 are the negation of these vectors, then this sequence represents the Koch curve.
2
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, 2, -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, 2, 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, -2, -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, -2, 1, 2, -1
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.
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
Coordinates: A332249, A332250.
Sequence in context: A000034 A040001 A134451 * A347526 A167965 A270370
KEYWORD
sign
AUTHOR
Arie Bos, Sep 25 2013
STATUS
approved