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!)
A189632 Fixed point starting with 0 of the morphism 0->001, 1->100. 5

%I #16 Sep 15 2019 10:48:46

%S 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,

%T 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,

%U 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

%N Fixed point starting with 0 of the morphism 0->001, 1->100.

%F 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]

%e 0->001->001001100->...

%t t = Nest[Flatten[# /. {0->{0,0,1}, 1->{1,0,0}}] &, {0}, 5] (* A189632 *)

%t f[n_] := t[[n]]

%t Flatten[Position[t, 0]] (* A189633 *)

%t Flatten[Position[t, 1]] (* A189634 *)

%t s[n_] := Sum[f[i], {i, 1, n}]; s[0] = 0;

%t Table[s[n], {n, 1, 120}] (* A189635 *)

%Y Cf. A189628, A189633, A189634, A189635.

%K nonn

%O 1

%A _Clark Kimberling_, Apr 24 2011

%E Name clarified by _Michel Dekking_, Sep 15 2019

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 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)