The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A101665 Fixed point of morphism 0 -> 01, 1 -> 12, 2 -> 02. 0
 0, 1, 1, 2, 1, 2, 0, 2, 1, 2, 0, 2, 0, 1, 0, 2, 1, 2, 0, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 1, 2, 0, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 1, 2, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 1, 2, 0, 2, 0, 1, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 1, 2, 0, 2, 0, 1, 1, 2, 0, 1, 0, 2, 0, 1, 1, 2, 1, 2, 0, 2, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,4 LINKS FORMULA a(2n) = [a(n)==1], a(2n+1) = 1 + [a(n)>0]. MATHEMATICA Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {1, 2}, 2 -> {0, 2}}) ]}], {0}, 7] (* Robert G. Wilson v, Mar 03 2005 *) CROSSREFS Sequence in context: A250213 A033794 A218856 * A229951 A165034 A193347 Adjacent sequences:  A101662 A101663 A101664 * A101666 A101667 A101668 KEYWORD nonn,easy AUTHOR Ralf Stephan, Dec 11 2004 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 3 04:47 EDT 2021. Contains 346435 sequences. (Running on oeis4.)