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!)
A289168 Length of n-th iterate of the mapping 00->0010, 01->100, 10->001 in A289165. 2
2, 4, 7, 12, 20, 34, 57, 96, 163, 277, 472, 803, 1368, 2328, 3963, 6745, 11481, 19542, 33260, 56612, 96369, 164036, 279208, 475288, 809027, 1377074, 2344072, 3990031, 6791680, 11560716, 19678465, 33496200, 57016621, 97052630 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
MATHEMATICA
z = 22; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "100", "10" -> "001"}];
st = ToCharacterCode[w[z]] - 48 ; (* A289165 *)
v = Table[StringLength[w[n]], {n, 0, 30}] (* A289168 *)
CROSSREFS
Cf. A289165.
Sequence in context: A329397 A172524 A094925 * A340217 A289000 A289028
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 29 2017
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 April 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)