login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

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 * A131378 A189624 A014707

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 1 11:38 EST 2021. Contains 349429 sequences. (Running on oeis4.)