login
A285969
{0110->0}-transform of the Thue-Morse word A010060.
4
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, 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, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0
OFFSET
1
LINKS
EXAMPLE
As a word, A010060 = 0110100110010110100101100..., and replacing each 0110 by 0 gives 0100010100100...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"0110" -> "0"}]
st = ToCharacterCode[w1] - 48 (* A285969 *)
Flatten[Position[st, 0]] (* A285970 *)
Flatten[Position[st, 1]] (* A285971 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 08 2017
EXTENSIONS
Typo in name corrected by Michel Dekking, Oct 15 2019
STATUS
approved