login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A285972
{10->1}-transform of the Thue-Morse word A010060.
3
0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1
OFFSET
1
LINKS
FORMULA
Conjecture: a(n) = A285960(n-1). - R. J. Mathar, May 08 2017
EXAMPLE
As a word, A010060 = 0110100110010110100101100..., and replacing each 10 by 1 gives 011101101111011101110110111011101...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"10" -> "1"}]
st = ToCharacterCode[w1] - 48 (* A285972 *)
Flatten[Position[st, 0]] (* A285973 *)
Flatten[Position[st, 1]] (* A285974 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 06 2017
STATUS
approved