login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107791 Twos order in the tribonacci substitution of three symbols. 0
2, 4, 7, 11, 13, 16, 18, 21, 25, 27, 30, 33, 35, 38, 42, 44, 47, 51, 53, 56, 59, 61, 64, 68, 70, 73, 75, 78, 82, 84, 87, 90, 92, 95, 99, 101, 104, 106, 109, 113, 115, 118, 121, 123, 126, 130, 132, 135, 139, 141, 144, 147, 149, 152, 156, 158, 161, 163, 166, 170, 172 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
1->(2), 2->{3}, 3->{1, 2, 3}, a(n) = 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]}]]
CROSSREFS
Sequence in context: A206853 A229618 A087285 * A181518 A262231 A356133
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:08 EDT 2024. Contains 371912 sequences. (Running on oeis4.)