|
| |
|
|
A107795
|
|
Gaps in twos order in the tribonacci substitution of three symbols.
|
|
0
| |
|
|
2, 3, 4, 2, 3, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 2, 3, 4, 2, 3, 3, 2, 3, 4, 2, 3, 4
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| Average gap=N[Apply[Plus, b]/Length[b]]=2.83843
|
|
|
FORMULA
| 1->(2), 2->{3}, 3->{1, 2, 3}, a(n) = ordertwos[n]-ordertwos[n-1] gap in order of appearance of twos in the substitution
|
|
|
MATHEMATICA
| s[1] = {2}; s[2] = {3};; s[3] = {1, 2, 3}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] pp = p[12] a = Flatten[Table[If[pp[[j]] == 2, j, {}], {j, 1, Length[pp]}]] b = Table[a[[n]] - a[[n - 1]], {n, 2, Length[a]}]
|
|
|
CROSSREFS
| Cf. A000045, A000213, A000931.
Sequence in context: A056472 A162247 A035578 * A151925 A106653 A173524
Adjacent sequences: A107792 A107793 A107794 * A107796 A107797 A107798
|
|
|
KEYWORD
| nonn,uned
|
|
|
AUTHOR
| Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Jun 11 2005
|
| |
|
|