A287411 Start with 0 and repeatedly substitute 0->012, 1->120, 2->021.
0, 1, 2, 1, 2, 0, 0, 2, 1, 1, 2, 0, 0, 2, 1, 0, 1, 2, 0, 1, 2, 0, 2, 1, 1, 2, 0, 1, 2, 0, 0, 2, 1, 0, 1, 2, 0, 1, 2, 0, 2, 1, 1, 2, 0, 0, 1, 2, 1, 2, 0, 0, 2, 1, 0, 1, 2, 1, 2, 0, 0, 2, 1, 0, 1, 2, 0, 2, 1, 1, 2, 0, 1, 2, 0, 0, 2, 1, 0, 1, 2, 1, 2, 0, 0, 2
Offset: 1
Examples
First three iterations of the morphism: 012, 012120021, 012120021120021012012021120.
Comments