A287320 0-limiting word of the morphism 0->10, 1->22, 2->0.
0, 0, 2, 2, 1, 0, 0, 0, 2, 2, 1, 0, 2, 2, 1, 0, 2, 2, 1, 0, 1, 0, 1, 0, 0, 0, 2, 2, 1, 0, 0, 0, 2, 2, 1, 0, 0, 0, 2, 2, 1, 0, 2, 2, 1, 0, 2, 2, 1, 0, 1, 0, 1, 0, 0, 0, 2, 2, 1, 0, 2, 2, 1, 0, 2, 2, 1, 0, 1, 0, 1, 0, 0, 0, 2, 2, 1, 0, 2, 2, 1, 0, 2, 2, 1, 0
Offset: 1
Examples
3rd iterate: 002210 6th iterate: 002210002210221022101010002210
Links
- Clark Kimberling, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {2, 2}, 2 -> 0}] &, {0}, 12] (* A287320 *) Flatten[Position[s, 0]] (* A287321 *) Flatten[Position[s, 1]] (* A287322 *) Flatten[Position[s, 2]] (* A287323 *) SubstitutionSystem[{0->{1,0},1->{2,2},2->{0}},{2},{10}][[1]] (* Harvey P. Dale, Aug 17 2022 *)
Comments