[go: up one dir, main page]

login
A285177
0-limiting word of the morphism 0->11, 1->001.
4
0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1
OFFSET
1
COMMENTS
The morphism 0->11, 1->001 has two limiting words. If the number of iterations is even, the 0-word evolves from 0 -> 11 -> 001001 -> 11110011111001 ->
00100100100111110010010010010011111001; if the number of iterations is odd, the 1-word evolves from 0 -> 11 -> 001001 -> 11110011111001 , as in A285403.
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {0, 0, 1}}] &, {0}, 10] (* A285177 *)
Flatten[Position[s, 0]] (* A285401 *)
Flatten[Position[s, 1]] (* A285402 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 26 2017
STATUS
approved