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!)
A189727 Fixed point of the morphism 0->011, 1->110. 5

%I #6 Mar 30 2012 18:57:25

%S 0,1,1,1,1,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,0,1,1,0,0,1,1,1,1,0,1,1,0,0,

%T 1,1,1,1,0,1,1,0,0,1,1,0,1,1,1,1,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,0,1,1,

%U 0,0,1,1,0,1,1,1,1,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,0,1,1,0,0,1,1,0,1,1,1,1,0,1,1,0,1,1,0,1,1,0,0,1,1,1,1,0,1,1

%N Fixed point of the morphism 0->011, 1->110.

%F a(3k-2)=a(k), a(3k-1)=1, a(3k)=1-a(k) for k>=1, a(0)=0.

%e 0->011->011110110->

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

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

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

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

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

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

%Y Cf. A189628, A189728, A189729, A189730.

%K nonn

%O 1

%A _Clark Kimberling_, Apr 26 2011

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 August 17 21:11 EDT 2024. Contains 375227 sequences. (Running on oeis4.)