Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101662
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101662 Fixed point of morphism 0 -> 01, 1 -> 02, 2 -> 21. +0
1
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; listen)
OFFSET

0,4

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] (from Robert G. Wilson v Feb 28 2005)

CROSSREFS

Sequence in context: A137298 A136487 A021501 this_sequence A091064 A158948 A140224

Adjacent sequences: A101659 A101660 A101661 this_sequence A101663 A101664 A101665

KEYWORD

nonn,easy

AUTHOR

Ralf Stephan, Dec 11 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research