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.
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!)
A285978 {00->1}-transform of the Thue-Morse word A010060. 3

%I #4 May 06 2017 19:55:39

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

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

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

%N {00->1}-transform of the Thue-Morse word A010060.

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

%e As a word, A010060 = 0110100110010110100101100..., and replacing each 00 by 1 gives 011011111101101110111110...

%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, {"00" -> "1"}]

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

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

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

%Y Cf. A010060, A285979, A285980.

%K nonn,easy

%O 1

%A _Clark Kimberling_, May 06 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 May 26 23:01 EDT 2024. Contains 372847 sequences. (Running on oeis4.)