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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080843 Tribonacci word: limit S(infinity), where S(0) = 0, S(1) = 0,1, S(2) = 0,1,0,2 and for n>=0, S(n+3) = S(n+2) S(n+1) S(n). 5
0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 0, 1, 0, 2 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

An Arnoux-Rauzy or episturmian word.

REFERENCES

J. Berstel and J. Karhumaki, Combinatorics on words - a tutorial, Bull. EATCS, #79 (2003), pp. 178-228.

LINKS

N. J. A. Sloane, Table of n, a(n) for n = 0..19512

Jean Berstel, Home Page

D. Damanik and L. Q. Zamboni, Arnoux-Rauzy subshifts: linear recurrence, powers and palindromes.

FORMULA

Fixed point of morphism 0 -> 0, 1; 1 -> 0, 2; 2 -> 0.

MAPLE

M:=17; S[1]:=`0`; S[2]:=`01`; S[3]:=`0102`;

for n from 4 to M do S[n]:=cat(S[n-1], S[n-2], S[n-3]); od:

t0:=S[M]: l:=length(t0); for i from 1 to l do lprint(i, substring(t0, i..i)); od: (N. J. A. Sloane, Nov 01 2006)

MATHEMATICA

Nest[Flatten[ # /. {0 -> {0, 1}, 1 -> {0, 2}, 2 -> {0}}] &, {0}, 8]

CROSSREFS

Cf. A003849 (the Fibonacci word).

Sequence in context: A113687 A071006 A178781 * A087371 A112762 A145171

Adjacent sequences:  A080840 A080841 A080842 * A080844 A080845 A080846

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Mar 29 2003

EXTENSIONS

More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 06 2003

Updated the Mathematica coding Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 07 2010

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

Content is available under The OEIS End-User License Agreement .

Last modified February 17 21:13 EST 2012. Contains 206085 sequences.