OFFSET
0,3
COMMENTS
This is superficially similar to A014587, although the latter sequence is not well understood. - N. J. A. Sloane, Jul 28 2019
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.
MATHEMATICA
Nest[Flatten[ReplaceAll[#, {0->{0, 1}, 1->2, 2->3, 3->{0, 1, 2}}]]&, {0}, 10] (* Paolo Xausa, Nov 09 2023 *)
PROG
(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]-1 ", ")); \\ Rémy Sigrist, Jul 25 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 24 2019
STATUS
approved