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

 

Logo


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

0,4

LINKS

Table of n, a(n) for n=0..104.

Index entries for sequences that are fixed points of mappings

FORMULA

a(2n) = 2[a(n)==2], a(2n+1) = (a(n)+1) mod 3.

MATHEMATICA

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

CROSSREFS

Sequence in context: A228748 A225094 A180160 * A263844 A079644 A072705

Adjacent sequences:  A101658 A101659 A101660 * A101662 A101663 A101664

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified October 18 10:28 EDT 2017. Contains 293507 sequences.