The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A166253 String substitution 0 -> 01110, 1 -> 10001, started with 1. 1
1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Connected to the Koch curve by doing the following repeatedly: Go one step; turn left if there is 01 or 10 in S and right if there is 00 or 11 in S. Go to the next element of the sequence.
LINKS
FORMULA
s(0)=0,1,1,1,0 and s(1)=1,0,0,0,1 Then S = lim s^n (n to infinity)
MATHEMATICA
s[0] = {0, 1, 1, 1, 0}; s[1] = {1, 0, 0, 0, 1}; sf[l_] := Module[{out = {}}, For[i = 1, i <= Length[l], i++, next = l[[i]]; AppendTo[out, s[next]]]; Return[Flatten[out]]] k = 7; e = {0}; For[m = 1, m <= k, m++, e = sf[e]]; e
Nest[Flatten[#/.{0->{0, 1, 1, 1, 0}, 1->{1, 0, 0, 0, 1}}]&, 1, 6] (* Harvey P. Dale, Jul 31 2021 *)
CROSSREFS
Sequence in context: A267868 A288733 A095111 * A159638 A187615 A369653
KEYWORD
nonn,uned
AUTHOR
Stephan Rosebrock (rosebrock(AT)ph-karlsruhe.de), Oct 10 2009
EXTENSIONS
a(25+) corrected by Ryan Hendrickson, Apr 10 2011
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 May 17 09:56 EDT 2024. Contains 372588 sequences. (Running on oeis4.)