Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107796
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research