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!)
A286419 {0100->1}-transform of the Thue-Morse word A010060. 3
0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
Let u(n) be the initial (2^n)-letter subword of A010060, and let v(n) be the word remaining when {0100->1} is applied to u(n). Then for n>=2, |v(n)| = 3*2^(n-2) - 1 if n is odd, and |v(n)| = 3*2^(n-2)+1 if n is even.
LINKS
EXAMPLE
As a word, A010060 = 0110100110010110100101100..., and replacing each 0100 by 1 gives 0111110010111101100111110010...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"0100" -> "1"}]
st = ToCharacterCode[w1] - 48 (* A286419 *)
Flatten[Position[st, 0]] (* A286420 *)
Flatten[Position[st, 1]] (* A286421 *)
CROSSREFS
Sequence in context: A143536 A204437 A080110 * A257799 A089496 A182067
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 09 2017
STATUS
approved

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