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!)
A106826 Trajectory of 1 under the morphism 1->{2,1}, 2->{2,3}, 3->{4,3}, 4->{4,1}. 1
2, 3, 4, 3, 4, 1, 4, 3, 4, 1, 2, 1, 4, 1, 4, 3, 4, 1, 2, 1, 2, 3, 2, 1, 4, 1, 2, 1, 4, 1, 4, 3, 4, 1, 2, 1, 2, 3, 2, 1, 2, 3, 4, 3, 2, 3, 2, 1, 4, 1, 2, 1, 2, 3, 2, 1, 4, 1, 2, 1, 4, 1, 4, 3, 4, 1, 2, 1, 2, 3, 2, 1, 2, 3, 4, 3, 2, 3, 2, 1, 2, 3, 4, 3, 4, 1, 4, 3, 2, 3, 4, 3, 2, 3, 2, 1, 4, 1, 2, 1, 2, 3, 2, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This is the reverse of the morphism in A105500 and the trajectory of 1 actually starts with 2 instead of 1.
LINKS
F. M. Dekking, Recurrent sets, Advances in Mathematics, vol. 44, no. 1 (1982), 78-104.
MATHEMATICA
Nest[ Flatten[ # /. {1 -> {2, 1}, 2 -> {2, 3}, 3 -> {4, 3}, 4 -> {4, 1}}] &, {1}, 8] (*Robert G. Wilson v, Jun 20 2005 *)
PROG
(PARI) {a(n)=local(A); if(n<0, 0, n++; A=[2]; while(length(A)<n, A=concat(vector(length(A), k, [[2, 1], [2, 3], [4, 3], [4, 1]][A[k]]))); A[n])}
CROSSREFS
Cf. A105500.
Sequence in context: A328314 A286245 A279849 * A259582 A139048 A182101
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 20 2005
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)