OFFSET
1,4
REFERENCES
Bernardino, André, Rui Pacheco, and Manuel Silva. "Coloring factors of substitutive infinite words." Discrete Mathematics 340.3 (2017): 443-451. See Example 4.
LINKS
A. Bernardino, M. Silva, R. Pacheco, Coloring factors of substitutive infinite words, arXiv:1605.09343 [math.CO], 2016. See Example 4.
MAPLE
with(ListTools);
psi:=proc(S)
Flatten(subs( {0=[0, 0, 1, 2], 1=[1, 1, 2], 2=[0, 2, 2]}, S));
end;
S:=[0];
for n from 1 to 6 do S:=psi(S): od:
S;
MATHEMATICA
SubstitutionSystem[{0 -> {0, 0, 1, 2}, 1 -> {1, 1, 2}, 2 -> {0, 2, 2}}, {0}, 4] // Last (* Jean-François Alcover, Jan 21 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 09 2017
STATUS
approved