OFFSET
1,4
COMMENTS
Letter '2' is always in an even position and '0' an odd position.
When replacing '2' by '0', equals the infinite Fibonacci word (see A003849).
This sequence produces the Fibonacci word fractal when applying the following turtle graphics rules: 0->draw segment+turn right, 1-> draw segment, 2-> draw segment+turn left (A. Monnerot-Dumaine 2008 see links).
This sequence is the [1->12, 2->01, 3->02]-transform of A123564. - Michel Dekking, Mar 03 2018
REFERENCES
M. Lothaire, Combinatorics on words, Cambridge University press.
LINKS
Alexis Monnerot-Dumaine, The Fibonacci Word Fractal, HAL Id : hal-00367972, 2009.
FORMULA
Let (b(n)) be the infinite Fibonacci word. if (b(n)=0 and n is even), then a(n)=2, else a(n)=b(n).
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexis Monnerot-Dumaine (alexis.monnerotdumaine(AT)gmail.com), Aug 28 2008
STATUS
approved