login
Fixed point of the morphism 0->01, 1->02, 2->03, 3->001.
4

%I #7 Nov 27 2021 15:31:41

%S 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,0,1,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,1,0,

%T 2,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,0,1,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,2,

%U 0,1,0,3,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,0,1,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,1,0,2,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,0,1,0,1,0,2,0,1,0,3

%N Fixed point of the morphism 0->01, 1->02, 2->03, 3->001.

%C See A191250.

%t t = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0, 2}, 2 -> {0, 3}, 3 -> {0, 0, 1}}] &, {0}, 10]

%t (* A191258 *)

%t Flatten[Position[t, 0]] (* A005408, the odds *)

%t Flatten[Position[t, 1]] (* A191259 *)

%t Flatten[Position[t, 2]] (* A191260 *)

%t Flatten[SubstitutionSystem[{0->{0,1},1->{0,2},2->{0,3},3->{0,0,1}},{0},{10}]] (* _Harvey P. Dale_, Nov 27 2021 *)

%Y Cf. A191250, A191259, A191260.

%K nonn,easy

%O 1,4

%A _Clark Kimberling_, May 28 2011