login
This site is supported by donations 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

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

F. M. Dekking, Recurrent sets, Advances in Mathematics, vol. 44, no. 1 (1982), 78-104.

Index entries for sequences that are fixed points of mappings

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: A234347 A286245 A279849 * A259582 A139048 A182101

Adjacent sequences:  A106823 A106824 A106825 * A106827 A106828 A106829

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

License Agreements, Terms of Use, Privacy Policy .

Last modified October 20 15:40 EDT 2017. Contains 293618 sequences.