|
Search: id:A107796
|
|
|
| A107796 |
|
Gaps in threes order in the tribonacci substitution of three symbols. |
|
+0 1
|
|
| 2, 3, 1, 3, 2, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 2, 3, 1, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 1, 3, 2, 3, 3
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
COMMENT
|
Average gap=N[Apply[Plus, b]/Length[b]]=2.38095
|
|
FORMULA
|
1->(2), 2->{3}, 3->{1, 2, 3}, a(n) = orderthrees[n]-orderthrees[n-1] gap in order of appearance of threes 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]] ==3, j, {}], {j, 1, Length[pp]}]] b = Table[a[[n]] - a[[n - 1]], {n, 2, Length[a]}]
|
|
CROSSREFS
|
Cf. A000045, A000213, A000931.
Adjacent sequences: A107793 A107794 A107795 this_sequence A107797 A107798 A107799
Sequence in context: A003270 A099054 A071282 this_sequence A039702 A104483 A080717
|
|
KEYWORD
|
nonn,uned
|
|
AUTHOR
|
Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Jun 11 2005
|
|
|
Search completed in 0.002 seconds
|