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!)
A101663 Fixed point of morphism 0 -> 01, 1 -> 02, 2 -> 22. 0

%I #8 Oct 01 2016 20:42:10

%S 0,1,0,2,0,1,2,2,0,1,0,2,2,2,2,2,0,1,0,2,0,1,2,2,2,2,2,2,2,2,2,2,0,1,

%T 0,2,0,1,2,2,0,1,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,0,2,

%U 0,1,2,2,0,1,0,2,2,2,2,2,0,1,0,2,0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2

%N Fixed point of morphism 0 -> 01, 1 -> 02, 2 -> 22.

%H <a href="/index/Fi#FIXEDPOINTS">Index entries for sequences that are fixed points of mappings</a>

%F a(2n) = 2[a(n)==2], a(2n+1) = 1 + [a(n)>0].

%t Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {0, 2}, 2 -> {2, 2}})]}], {0}, 7] (* _Robert G. Wilson v_, Feb 28 2005 *)

%K nonn,easy

%O 0,4

%A _Ralf Stephan_, Dec 11 2004

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)