A309198 Fixed point of the morphism 1 -> 12, 2 -> 3, 3 -> 4, 4 -> 123.
1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4, 1, 2
Offset: 0
Keywords
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..15126
- M. Dekking, Base phi representations and golden mean beta-expansions, arXiv:1906.08437 [math.NT], June 2019.
Crossrefs
See A308898 for another version.
Programs
-
Mathematica
Nest[Flatten[ReplaceAll[#,{1->{1,2},2->3,3->4,4->{1,2,3}}]]&,{1},10] (* Paolo Xausa, Nov 09 2023 *)
-
PARI
M = [[1,2], [3], [4], [1,2,3]]; s = [1]; for (k=1, 100, while (k>#s, s=concat(apply(d -> M[d],s))); print1 (s[k] ", ")) \\ Rémy Sigrist, Jul 25 2019