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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101660 Fixed point of morphism 0 -> 01, 1 -> 02, 2 -> 12. 0
0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 0, 2, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 1, 2, 0, 2, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 0, 2, 1, 2, 0, 1, 0, 2, 0, 2, 1, 2, 0, 1, 1, 2, 0, 2, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 0, 2, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 1, 2, 0, 2, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

FORMULA

a(2n) = [a(n)==2], a(2n+1) = 1 + [a(n)>0].

MATHEMATICA

Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {0, 2}, 2 -> {1, 2}})]}], {0}, 7] (from Robert G. Wilson v Feb 26 2005)

CROSSREFS

Sequence in context: A077614 A180793 A116948 * A062984 A105243 A140081

Adjacent sequences:  A101657 A101658 A101659 * A101661 A101662 A101663

KEYWORD

nonn,easy

AUTHOR

Ralf Stephan, Dec 11 2004

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 14 05:41 EST 2012. Contains 205570 sequences.