Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

0,4

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

CROSSREFS

Sequence in context: A079483 A071460 A033794 this_sequence A115862 A029357 A118054

Adjacent sequences: A101662 A101663 A101664 this_sequence A101666 A101667 A101668

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 November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research