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”).

A104232
Triangle read by rows, based on the morphism f: 1->2, 2->3, 3->{2,1}. First row is 1. If current row is a,b,c,..., then the next row is a,b,c,...,f(a),f(b),f(c),...
0
1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 2, 1, 1, 2, 2, 3, 2, 3, 3, 2, 1, 2, 3, 3, 2, 1, 3, 2, 1, 2, 1, 3, 2, 1, 2, 2, 3, 2, 3, 3, 2, 1, 2, 3, 3, 2, 1, 3, 2, 1, 2, 1, 3, 2, 2, 3, 3, 2, 1, 3, 2, 1, 2, 1, 3, 2, 3, 2, 1, 2, 1, 3, 2, 2, 1, 3, 2, 3, 2, 2, 1, 3, 1, 2, 2, 3, 2, 3, 3, 2, 1, 2, 3, 3, 2, 1, 3, 2, 1, 2, 1
OFFSET
0,3
COMMENTS
This substitution was suggested by looking at the Kenyon border tiling substitutions.
MATHEMATICA
s[n_] := n /. {1 -> 2, 2 -> 3, 3 -> {2, 1}}; t[a_] := Join[a, Flatten[s /@ a]]; Flatten[ NestList[t, {1}, 6]]
CROSSREFS
Cf. A073058.
Sequence in context: A354582 A359312 A179868 * A072086 A180094 A333870
KEYWORD
nonn,tabf
AUTHOR
Roger L. Bagula, Apr 02 2005
STATUS
approved