This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A285969 {0110->1}-transform of the Thue-Morse word A010060. 3

%I

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

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

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

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

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

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

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

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

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

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

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

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

%Y Cf. A010060, A285970, A285971.

%K nonn,easy

%O 1

%A _Clark Kimberling_, May 08 2017

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.

Last modified July 17 02:50 EDT 2019. Contains 325092 sequences. (Running on oeis4.)