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.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A189632 Fixed point starting with 0 of the morphism 0->001, 1->100. 5
 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1 LINKS Table of n, a(n) for n=1..122. FORMULA a(3k-2)=a(k), a(3k-1)=0, a(3k)=1-a(k) for k>=1, a(1)=0. [Corrected by Michel Dekking, Sep 15 2019] EXAMPLE 0->001->001001100->... MATHEMATICA t = Nest[Flatten[# /. {0->{0, 0, 1}, 1->{1, 0, 0}}] &, {0}, 5] (* A189632 *) f[n_] := t[[n]] Flatten[Position[t, 0]] (* A189633 *) Flatten[Position[t, 1]] (* A189634 *) s[n_] := Sum[f[i], {i, 1, n}]; s[0] = 0; Table[s[n], {n, 1, 120}] (* A189635 *) CROSSREFS Cf. A189628, A189633, A189634, A189635. Sequence in context: A116178 A028999 A091244 * A364251 A365421 A131378 Adjacent sequences: A189629 A189630 A189631 * A189633 A189634 A189635 KEYWORD nonn AUTHOR Clark Kimberling, Apr 24 2011 EXTENSIONS Name clarified by Michel Dekking, Sep 15 2019 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.

Last modified May 27 00:17 EDT 2024. Contains 372847 sequences. (Running on oeis4.)