Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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
Coordinates: A332249, A332250.
Sequence in context: A000034 A040001 A134451 * A347526 A167965 A270370
KEYWORD
sign
AUTHOR
Arie Bos, Sep 25 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 22:09 EDT 2024. Contains 375284 sequences. (Running on oeis4.)