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!)
A101662 Fixed point of morphism 0 -> 01, 1 -> 02, 2 -> 21. 0
0, 1, 0, 2, 0, 1, 2, 1, 0, 1, 0, 2, 2, 1, 0, 2, 0, 1, 0, 2, 0, 1, 2, 1, 2, 1, 0, 2, 0, 1, 2, 1, 0, 1, 0, 2, 0, 1, 2, 1, 0, 1, 0, 2, 2, 1, 0, 2, 2, 1, 0, 2, 0, 1, 2, 1, 0, 1, 0, 2, 2, 1, 0, 2, 0, 1, 0, 2, 0, 1, 2, 1, 0, 1, 0, 2, 2, 1, 0, 2, 0, 1, 0, 2, 0, 1, 2, 1, 2, 1, 0, 2, 0, 1, 2, 1, 2, 1, 0, 2, 0, 1, 2, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(2n) = 2[a(n)==2], a(2n+1) = 1 + [a(n)==1].
MATHEMATICA
Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {0, 2}, 2 -> {2, 1}})]}], {0}, 7] (* Robert G. Wilson v, Feb 28 2005 *)
CROSSREFS
Sequence in context: A178108 A021501 A237049 * A091064 A275760 A293388
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)