|
|
A107604
|
|
Order of appearance of twos in the Fibonacci substitution :triangular in form.
|
|
0
|
|
|
2, 2, 2, 2, 5, 2, 5, 2, 5, 7, 2, 5, 7, 2, 5, 7, 2, 5, 7, 10, 2, 5, 7, 10, 2, 5, 7, 10, 2, 5, 7, 10, 13, 2, 5, 7, 10, 13, 2, 5, 7, 10, 13, 15, 2, 5, 7, 10, 13, 15, 2, 5, 7, 10, 13, 15, 2, 5, 7, 10, 13, 15, 18, 2, 5, 7, 10, 13, 15, 18, 2, 5, 7, 10, 13, 15, 18, 20
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Fibonacci substitutions contain thrre types of informstion: 1) length 2) count of ones and twos 3) order of appearance of ones and twos
|
|
LINKS
|
|
|
FORMULA
|
1->{1, 2}, 2->{1}
|
|
EXAMPLE
|
{}
2,
2,
2,
2,5,
2,5,
2,5,7,
2,5,7,
2,5,7,
2,5,7,10,
2,5,7,10,
2,5,7,10,
2,5,7,10,13
|
|
MATHEMATICA
|
s[1] = {1, 2}; s[2] = {1};; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] a = Table[Flatten[Table[If[p[i][[j]] == 2, j, {}], {j, 1, i}]], {i, 1, 20}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|