Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107795
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107795 Gaps in twos order in the tribonacci substitution of three symbols. +0
1
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; listen)
OFFSET

0,1

COMMENT

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 this_sequence A151925 A106653 A049865

Adjacent sequences: A107792 A107793 A107794 this_sequence A107796 A107797 A107798

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 November 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research