login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A191258
Fixed point of the morphism 0->01, 1->02, 2->03, 3->001.
4
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, 0, 1, 0, 2, 0, 1, 0, 2, 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
OFFSET
1,4
COMMENTS
See A191250.
MATHEMATICA
t = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0, 2}, 2 -> {0, 3}, 3 -> {0, 0, 1}}] &, {0}, 10]
(* A191258 *)
Flatten[Position[t, 0]] (* A005408, the odds *)
Flatten[Position[t, 1]] (* A191259 *)
Flatten[Position[t, 2]] (* A191260 *)
Flatten[SubstitutionSystem[{0->{0, 1}, 1->{0, 2}, 2->{0, 3}, 3->{0, 0, 1}}, {0}, {10}]] (* Harvey P. Dale, Nov 27 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 28 2011
STATUS
approved