login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107793 Gaps in ones order in the tribonacci substitution of three symbols. 0
4, 5, 3, 5, 4, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 4, 5, 3, 5, 4, 5, 5, 4, 5, 3, 5, 4, 5, 3, 5, 4, 5, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Average gap=N[Apply[Plus, b]/Length[b]]=4.38095

LINKS

Table of n, a(n) for n=0..104.

FORMULA

1->(2), 2->{3}, 3->{1, 2, 3}, a(n) = orderones[n]-ordersones[n-1] gap in order of appearance of ones 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[13] a = Flatten[Table[If[pp[[j]] == 1, j, {}], {j, 1, Length[pp]}]] b = Table[a[[n]] - a[[n - 1]], {n, 2, Length[a]}]

CROSSREFS

Cf. A000045, A000213, A000931.

Sequence in context: A069197 A021692 A222627 * A275275 A196402 A268741

Adjacent sequences:  A107790 A107791 A107792 * A107794 A107795 A107796

KEYWORD

nonn,uned

AUTHOR

Roger L. Bagula, Jun 11 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 24 11:12 EST 2018. Contains 299603 sequences. (Running on oeis4.)