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!)
A286052 {101->0}-transform of the Thue-Morse word A010060. 3

%I #4 May 07 2017 21:36:11

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

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

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

%N {101->0}-transform of the Thue-Morse word A010060.

%H Clark Kimberling, <a href="/A286052/b286052.txt">Table of n, a(n) for n = 1..10000</a>

%e As a word, A010060 = 0110100110010110100101100..., and replacing each 101 by 0 gives 0100011000000010010001100010010000...

%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)

%t w = StringJoin[Map[ToString, s]]

%t w1 = StringReplace[w, {"101" -> "0"}]

%t st = ToCharacterCode[w1] - 48 (* A286052 *)

%t Flatten[Position[st, 0]] (* A286053 *)

%t Flatten[Position[st, 1]] (* A286054 *)

%Y Cf. A010060, A286053, A286054.

%K nonn,easy

%O 1

%A _Clark Kimberling_, May 07 2017

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 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)